Package k8s.io.api.core.v1
Interface Generated.PersistentVolumeClaimStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.PersistentVolumeClaimStatus,Generated.PersistentVolumeClaimStatus.Builder
- Enclosing class:
- Generated
public static interface Generated.PersistentVolumeClaimStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsAllocatedResources(String key)allocatedResources tracks the resources allocated to a PVC including its capacity.booleancontainsAllocatedResourceStatuses(String key)allocatedResourceStatuses stores status of resource being resized for the given PVC.booleancontainsCapacity(String key)capacity represents the actual resources of the underlying volume.StringgetAccessModes(int index)accessModes contains the actual access modes the volume backing the PVC has.com.google.protobuf.ByteStringgetAccessModesBytes(int index)accessModes contains the actual access modes the volume backing the PVC has.intgetAccessModesCount()accessModes contains the actual access modes the volume backing the PVC has.List<String>getAccessModesList()accessModes contains the actual access modes the volume backing the PVC has.Map<String,Generated.Quantity>getAllocatedResources()Deprecated.intgetAllocatedResourcesCount()allocatedResources tracks the resources allocated to a PVC including its capacity.Map<String,Generated.Quantity>getAllocatedResourcesMap()allocatedResources tracks the resources allocated to a PVC including its capacity.Generated.QuantitygetAllocatedResourcesOrDefault(String key, Generated.Quantity defaultValue)allocatedResources tracks the resources allocated to a PVC including its capacity.Generated.QuantitygetAllocatedResourcesOrThrow(String key)allocatedResources tracks the resources allocated to a PVC including its capacity.Map<String,String>getAllocatedResourceStatuses()Deprecated.intgetAllocatedResourceStatusesCount()allocatedResourceStatuses stores status of resource being resized for the given PVC.Map<String,String>getAllocatedResourceStatusesMap()allocatedResourceStatuses stores status of resource being resized for the given PVC.StringgetAllocatedResourceStatusesOrDefault(String key, String defaultValue)allocatedResourceStatuses stores status of resource being resized for the given PVC.StringgetAllocatedResourceStatusesOrThrow(String key)allocatedResourceStatuses stores status of resource being resized for the given PVC.Map<String,Generated.Quantity>getCapacity()Deprecated.intgetCapacityCount()capacity represents the actual resources of the underlying volume.Map<String,Generated.Quantity>getCapacityMap()capacity represents the actual resources of the underlying volume.Generated.QuantitygetCapacityOrDefault(String key, Generated.Quantity defaultValue)capacity represents the actual resources of the underlying volume.Generated.QuantitygetCapacityOrThrow(String key)capacity represents the actual resources of the underlying volume.Generated.PersistentVolumeClaimConditiongetConditions(int index)conditions is the current Condition of persistent volume claim.intgetConditionsCount()conditions is the current Condition of persistent volume claim.List<Generated.PersistentVolumeClaimCondition>getConditionsList()conditions is the current Condition of persistent volume claim.Generated.PersistentVolumeClaimConditionOrBuildergetConditionsOrBuilder(int index)conditions is the current Condition of persistent volume claim.List<? extends Generated.PersistentVolumeClaimConditionOrBuilder>getConditionsOrBuilderList()conditions is the current Condition of persistent volume claim.StringgetCurrentVolumeAttributesClassName()currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.com.google.protobuf.ByteStringgetCurrentVolumeAttributesClassNameBytes()currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.Generated.ModifyVolumeStatusgetModifyVolumeStatus()ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.Generated.ModifyVolumeStatusOrBuildergetModifyVolumeStatusOrBuilder()ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.StringgetPhase()phase represents the current phase of PersistentVolumeClaim.com.google.protobuf.ByteStringgetPhaseBytes()phase represents the current phase of PersistentVolumeClaim.booleanhasCurrentVolumeAttributesClassName()currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using.booleanhasModifyVolumeStatus()ModifyVolumeStatus represents the status object of ControllerModifyVolume operation.booleanhasPhase()phase represents the current phase of PersistentVolumeClaim.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPhase
boolean hasPhase()
phase represents the current phase of PersistentVolumeClaim. +optional
optional string phase = 1;- Returns:
- Whether the phase field is set.
-
getPhase
String getPhase()
phase represents the current phase of PersistentVolumeClaim. +optional
optional string phase = 1;- Returns:
- The phase.
-
getPhaseBytes
com.google.protobuf.ByteString getPhaseBytes()
phase represents the current phase of PersistentVolumeClaim. +optional
optional string phase = 1;- Returns:
- The bytes for phase.
-
getAccessModesList
List<String> getAccessModesList()
accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 +optional +listType=atomic
repeated string accessModes = 2;- Returns:
- A list containing the accessModes.
-
getAccessModesCount
int getAccessModesCount()
accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 +optional +listType=atomic
repeated string accessModes = 2;- Returns:
- The count of accessModes.
-
getAccessModes
String getAccessModes(int index)
accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 +optional +listType=atomic
repeated string accessModes = 2;- Parameters:
index- The index of the element to return.- Returns:
- The accessModes at the given index.
-
getAccessModesBytes
com.google.protobuf.ByteString getAccessModesBytes(int index)
accessModes contains the actual access modes the volume backing the PVC has. More info: https://kubernetes.io/docs/concepts/storage/persistent-volumes#access-modes-1 +optional +listType=atomic
repeated string accessModes = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the accessModes at the given index.
-
getCapacityCount
int getCapacityCount()
capacity represents the actual resources of the underlying volume. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 3;
-
containsCapacity
boolean containsCapacity(String key)
capacity represents the actual resources of the underlying volume. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 3;
-
getCapacity
@Deprecated Map<String,Generated.Quantity> getCapacity()
Deprecated.UsegetCapacityMap()instead.
-
getCapacityMap
Map<String,Generated.Quantity> getCapacityMap()
capacity represents the actual resources of the underlying volume. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 3;
-
getCapacityOrDefault
Generated.Quantity getCapacityOrDefault(String key, Generated.Quantity defaultValue)
capacity represents the actual resources of the underlying volume. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 3;
-
getCapacityOrThrow
Generated.Quantity getCapacityOrThrow(String key)
capacity represents the actual resources of the underlying volume. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 3;
-
getConditionsList
List<Generated.PersistentVolumeClaimCondition> getConditionsList()
conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'. +optional +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type
repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
-
getConditions
Generated.PersistentVolumeClaimCondition getConditions(int index)
conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'. +optional +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type
repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
-
getConditionsCount
int getConditionsCount()
conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'. +optional +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type
repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
-
getConditionsOrBuilderList
List<? extends Generated.PersistentVolumeClaimConditionOrBuilder> getConditionsOrBuilderList()
conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'. +optional +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type
repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
-
getConditionsOrBuilder
Generated.PersistentVolumeClaimConditionOrBuilder getConditionsOrBuilder(int index)
conditions is the current Condition of persistent volume claim. If underlying persistent volume is being resized then the Condition will be set to 'Resizing'. +optional +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type
repeated .k8s.io.api.core.v1.PersistentVolumeClaimCondition conditions = 4;
-
getAllocatedResourcesCount
int getAllocatedResourcesCount()
allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. Capacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. A controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. +featureGate=RecoverVolumeExpansionFailure +optionalmap<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 5;
-
containsAllocatedResources
boolean containsAllocatedResources(String key)
allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. Capacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. A controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. +featureGate=RecoverVolumeExpansionFailure +optionalmap<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 5;
-
getAllocatedResources
@Deprecated Map<String,Generated.Quantity> getAllocatedResources()
Deprecated.UsegetAllocatedResourcesMap()instead.
-
getAllocatedResourcesMap
Map<String,Generated.Quantity> getAllocatedResourcesMap()
allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. Capacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. A controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. +featureGate=RecoverVolumeExpansionFailure +optionalmap<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 5;
-
getAllocatedResourcesOrDefault
Generated.Quantity getAllocatedResourcesOrDefault(String key, Generated.Quantity defaultValue)
allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. Capacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. A controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. +featureGate=RecoverVolumeExpansionFailure +optionalmap<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 5;
-
getAllocatedResourcesOrThrow
Generated.Quantity getAllocatedResourcesOrThrow(String key)
allocatedResources tracks the resources allocated to a PVC including its capacity. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. Capacity reported here may be larger than the actual capacity when a volume expansion operation is requested. For storage quota, the larger value from allocatedResources and PVC.spec.resources is used. If allocatedResources is not set, PVC.spec.resources alone is used for quota calculation. If a volume expansion capacity request is lowered, allocatedResources is only lowered if there are no expansion operations in progress and if the actual volume capacity is equal or lower than the requested capacity. A controller that receives PVC update with previously unknown resourceName should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. +featureGate=RecoverVolumeExpansionFailure +optionalmap<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatedResources = 5;
-
getAllocatedResourceStatusesCount
int getAllocatedResourceStatusesCount()
allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. ClaimResourceStatus can be in any of following states: - ControllerResizeInProgress: State set when resize controller starts resizing the volume in control-plane. - ControllerResizeFailed: State set when resize has failed in resize controller with a terminal error. - NodeResizePending: State set when resize controller has finished resizing the volume but further resizing of volume is needed on the node. - NodeResizeInProgress: State set when kubelet starts resizing the volume. - NodeResizeFailed: State set when resizing has failed in kubelet with a terminal error. Transient errors don't set NodeResizeFailed. For example: if expanding a PVC for more capacity - this field can be one of the following states: - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed" When this field is not set, it means that no resize operation is in progress for the given PVC. A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. +featureGate=RecoverVolumeExpansionFailure +mapType=granular +optionalmap<string, string> allocatedResourceStatuses = 7;
-
containsAllocatedResourceStatuses
boolean containsAllocatedResourceStatuses(String key)
allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. ClaimResourceStatus can be in any of following states: - ControllerResizeInProgress: State set when resize controller starts resizing the volume in control-plane. - ControllerResizeFailed: State set when resize has failed in resize controller with a terminal error. - NodeResizePending: State set when resize controller has finished resizing the volume but further resizing of volume is needed on the node. - NodeResizeInProgress: State set when kubelet starts resizing the volume. - NodeResizeFailed: State set when resizing has failed in kubelet with a terminal error. Transient errors don't set NodeResizeFailed. For example: if expanding a PVC for more capacity - this field can be one of the following states: - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed" When this field is not set, it means that no resize operation is in progress for the given PVC. A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. +featureGate=RecoverVolumeExpansionFailure +mapType=granular +optionalmap<string, string> allocatedResourceStatuses = 7;
-
getAllocatedResourceStatuses
@Deprecated Map<String,String> getAllocatedResourceStatuses()
Deprecated.UsegetAllocatedResourceStatusesMap()instead.
-
getAllocatedResourceStatusesMap
Map<String,String> getAllocatedResourceStatusesMap()
allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. ClaimResourceStatus can be in any of following states: - ControllerResizeInProgress: State set when resize controller starts resizing the volume in control-plane. - ControllerResizeFailed: State set when resize has failed in resize controller with a terminal error. - NodeResizePending: State set when resize controller has finished resizing the volume but further resizing of volume is needed on the node. - NodeResizeInProgress: State set when kubelet starts resizing the volume. - NodeResizeFailed: State set when resizing has failed in kubelet with a terminal error. Transient errors don't set NodeResizeFailed. For example: if expanding a PVC for more capacity - this field can be one of the following states: - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed" When this field is not set, it means that no resize operation is in progress for the given PVC. A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. +featureGate=RecoverVolumeExpansionFailure +mapType=granular +optionalmap<string, string> allocatedResourceStatuses = 7;
-
getAllocatedResourceStatusesOrDefault
String getAllocatedResourceStatusesOrDefault(String key, String defaultValue)
allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. ClaimResourceStatus can be in any of following states: - ControllerResizeInProgress: State set when resize controller starts resizing the volume in control-plane. - ControllerResizeFailed: State set when resize has failed in resize controller with a terminal error. - NodeResizePending: State set when resize controller has finished resizing the volume but further resizing of volume is needed on the node. - NodeResizeInProgress: State set when kubelet starts resizing the volume. - NodeResizeFailed: State set when resizing has failed in kubelet with a terminal error. Transient errors don't set NodeResizeFailed. For example: if expanding a PVC for more capacity - this field can be one of the following states: - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed" When this field is not set, it means that no resize operation is in progress for the given PVC. A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. +featureGate=RecoverVolumeExpansionFailure +mapType=granular +optionalmap<string, string> allocatedResourceStatuses = 7;
-
getAllocatedResourceStatusesOrThrow
String getAllocatedResourceStatusesOrThrow(String key)
allocatedResourceStatuses stores status of resource being resized for the given PVC. Key names follow standard Kubernetes label syntax. Valid values are either: * Un-prefixed keys: - storage - the capacity of the volume. * Custom resources must use implementation-defined prefixed names such as "example.com/my-custom-resource" Apart from above values - keys that are unprefixed or have kubernetes.io prefix are considered reserved and hence may not be used. ClaimResourceStatus can be in any of following states: - ControllerResizeInProgress: State set when resize controller starts resizing the volume in control-plane. - ControllerResizeFailed: State set when resize has failed in resize controller with a terminal error. - NodeResizePending: State set when resize controller has finished resizing the volume but further resizing of volume is needed on the node. - NodeResizeInProgress: State set when kubelet starts resizing the volume. - NodeResizeFailed: State set when resizing has failed in kubelet with a terminal error. Transient errors don't set NodeResizeFailed. For example: if expanding a PVC for more capacity - this field can be one of the following states: - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "ControllerResizeFailed" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizePending" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeInProgress" - pvc.status.allocatedResourceStatus['storage'] = "NodeResizeFailed" When this field is not set, it means that no resize operation is in progress for the given PVC. A controller that receives PVC update with previously unknown resourceName or ClaimResourceStatus should ignore the update for the purpose it was designed. For example - a controller that only is responsible for resizing capacity of the volume, should ignore PVC updates that change other valid resources associated with PVC. This is an alpha field and requires enabling RecoverVolumeExpansionFailure feature. +featureGate=RecoverVolumeExpansionFailure +mapType=granular +optionalmap<string, string> allocatedResourceStatuses = 7;
-
hasCurrentVolumeAttributesClassName
boolean hasCurrentVolumeAttributesClassName()
currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default). +featureGate=VolumeAttributesClass +optional
optional string currentVolumeAttributesClassName = 8;- Returns:
- Whether the currentVolumeAttributesClassName field is set.
-
getCurrentVolumeAttributesClassName
String getCurrentVolumeAttributesClassName()
currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default). +featureGate=VolumeAttributesClass +optional
optional string currentVolumeAttributesClassName = 8;- Returns:
- The currentVolumeAttributesClassName.
-
getCurrentVolumeAttributesClassNameBytes
com.google.protobuf.ByteString getCurrentVolumeAttributesClassNameBytes()
currentVolumeAttributesClassName is the current name of the VolumeAttributesClass the PVC is using. When unset, there is no VolumeAttributeClass applied to this PersistentVolumeClaim This is a beta field and requires enabling VolumeAttributesClass feature (off by default). +featureGate=VolumeAttributesClass +optional
optional string currentVolumeAttributesClassName = 8;- Returns:
- The bytes for currentVolumeAttributesClassName.
-
hasModifyVolumeStatus
boolean hasModifyVolumeStatus()
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is a beta field and requires enabling VolumeAttributesClass feature (off by default). +featureGate=VolumeAttributesClass +optional
optional .k8s.io.api.core.v1.ModifyVolumeStatus modifyVolumeStatus = 9;- Returns:
- Whether the modifyVolumeStatus field is set.
-
getModifyVolumeStatus
Generated.ModifyVolumeStatus getModifyVolumeStatus()
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is a beta field and requires enabling VolumeAttributesClass feature (off by default). +featureGate=VolumeAttributesClass +optional
optional .k8s.io.api.core.v1.ModifyVolumeStatus modifyVolumeStatus = 9;- Returns:
- The modifyVolumeStatus.
-
getModifyVolumeStatusOrBuilder
Generated.ModifyVolumeStatusOrBuilder getModifyVolumeStatusOrBuilder()
ModifyVolumeStatus represents the status object of ControllerModifyVolume operation. When this is unset, there is no ModifyVolume operation being attempted. This is a beta field and requires enabling VolumeAttributesClass feature (off by default). +featureGate=VolumeAttributesClass +optional
optional .k8s.io.api.core.v1.ModifyVolumeStatus modifyVolumeStatus = 9;
-
-