ironcore icon indicating copy to clipboard operation
ironcore copied to clipboard

Add volume size also to Volume status

Open arttor opened this issue 4 years ago • 1 comments

Summary

Add size parameter to Volume status indicating the actual resources of the underlying volume. Size parameter in the spec will reflect requested resources.

Basic example

apiVersion: storage.onmetal.de/v1alpha1
kind: Volume
...
status:
  resources:
    storage: 100Gi

Motivation

Api user should know the actual size of the underlying volume. It may be different from requested size during volume resize operation. This can happen if the storage cluster doesn't have enough capacity to fulfill the new size.

arttor avatar Dec 10 '21 13:12 arttor

We'll do this later when we handle storage resize correctly.

adracus avatar Feb 17 '22 16:02 adracus