Package k8s.io.api.core.v1
Interface Generated.NodeStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.NodeStatus,Generated.NodeStatus.Builder
- Enclosing class:
- Generated
public static interface Generated.NodeStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsAllocatable(String key)Allocatable represents the resources of a node that are available for scheduling.booleancontainsCapacity(String key)Capacity represents the total resources of a node.Generated.NodeAddressgetAddresses(int index)List of addresses reachable to the node.intgetAddressesCount()List of addresses reachable to the node.List<Generated.NodeAddress>getAddressesList()List of addresses reachable to the node.Generated.NodeAddressOrBuildergetAddressesOrBuilder(int index)List of addresses reachable to the node.List<? extends Generated.NodeAddressOrBuilder>getAddressesOrBuilderList()List of addresses reachable to the node.Map<String,Generated.Quantity>getAllocatable()Deprecated.intgetAllocatableCount()Allocatable represents the resources of a node that are available for scheduling.Map<String,Generated.Quantity>getAllocatableMap()Allocatable represents the resources of a node that are available for scheduling.Generated.QuantitygetAllocatableOrDefault(String key, Generated.Quantity defaultValue)Allocatable represents the resources of a node that are available for scheduling.Generated.QuantitygetAllocatableOrThrow(String key)Allocatable represents the resources of a node that are available for scheduling.Map<String,Generated.Quantity>getCapacity()Deprecated.intgetCapacityCount()Capacity represents the total resources of a node.Map<String,Generated.Quantity>getCapacityMap()Capacity represents the total resources of a node.Generated.QuantitygetCapacityOrDefault(String key, Generated.Quantity defaultValue)Capacity represents the total resources of a node.Generated.QuantitygetCapacityOrThrow(String key)Capacity represents the total resources of a node.Generated.NodeConditiongetConditions(int index)Conditions is an array of current observed node conditions.intgetConditionsCount()Conditions is an array of current observed node conditions.List<Generated.NodeCondition>getConditionsList()Conditions is an array of current observed node conditions.Generated.NodeConditionOrBuildergetConditionsOrBuilder(int index)Conditions is an array of current observed node conditions.List<? extends Generated.NodeConditionOrBuilder>getConditionsOrBuilderList()Conditions is an array of current observed node conditions.Generated.NodeConfigStatusgetConfig()Status of the config assigned to the node via the dynamic Kubelet config feature.Generated.NodeConfigStatusOrBuildergetConfigOrBuilder()Status of the config assigned to the node via the dynamic Kubelet config feature.Generated.NodeDaemonEndpointsgetDaemonEndpoints()Endpoints of daemons running on the Node.Generated.NodeDaemonEndpointsOrBuildergetDaemonEndpointsOrBuilder()Endpoints of daemons running on the Node.Generated.NodeFeaturesgetFeatures()Features describes the set of features implemented by the CRI implementation.Generated.NodeFeaturesOrBuildergetFeaturesOrBuilder()Features describes the set of features implemented by the CRI implementation.Generated.ContainerImagegetImages(int index)List of container images on this node +optional +listType=atomicintgetImagesCount()List of container images on this node +optional +listType=atomicList<Generated.ContainerImage>getImagesList()List of container images on this node +optional +listType=atomicGenerated.ContainerImageOrBuildergetImagesOrBuilder(int index)List of container images on this node +optional +listType=atomicList<? extends Generated.ContainerImageOrBuilder>getImagesOrBuilderList()List of container images on this node +optional +listType=atomicGenerated.NodeSystemInfogetNodeInfo()Set of ids/uuids to uniquely identify the node.Generated.NodeSystemInfoOrBuildergetNodeInfoOrBuilder()Set of ids/uuids to uniquely identify the node.StringgetPhase()NodePhase is the recently observed lifecycle phase of the node.com.google.protobuf.ByteStringgetPhaseBytes()NodePhase is the recently observed lifecycle phase of the node.Generated.NodeRuntimeHandlergetRuntimeHandlers(int index)The available runtime handlers.intgetRuntimeHandlersCount()The available runtime handlers.List<Generated.NodeRuntimeHandler>getRuntimeHandlersList()The available runtime handlers.Generated.NodeRuntimeHandlerOrBuildergetRuntimeHandlersOrBuilder(int index)The available runtime handlers.List<? extends Generated.NodeRuntimeHandlerOrBuilder>getRuntimeHandlersOrBuilderList()The available runtime handlers.Generated.AttachedVolumegetVolumesAttached(int index)List of volumes that are attached to the node.intgetVolumesAttachedCount()List of volumes that are attached to the node.List<Generated.AttachedVolume>getVolumesAttachedList()List of volumes that are attached to the node.Generated.AttachedVolumeOrBuildergetVolumesAttachedOrBuilder(int index)List of volumes that are attached to the node.List<? extends Generated.AttachedVolumeOrBuilder>getVolumesAttachedOrBuilderList()List of volumes that are attached to the node.StringgetVolumesInUse(int index)List of attachable volumes in use (mounted) by the node.com.google.protobuf.ByteStringgetVolumesInUseBytes(int index)List of attachable volumes in use (mounted) by the node.intgetVolumesInUseCount()List of attachable volumes in use (mounted) by the node.List<String>getVolumesInUseList()List of attachable volumes in use (mounted) by the node.booleanhasConfig()Status of the config assigned to the node via the dynamic Kubelet config feature.booleanhasDaemonEndpoints()Endpoints of daemons running on the Node.booleanhasFeatures()Features describes the set of features implemented by the CRI implementation.booleanhasNodeInfo()Set of ids/uuids to uniquely identify the node.booleanhasPhase()NodePhase is the recently observed lifecycle phase of the node.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCapacityCount
int getCapacityCount()
Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
-
containsCapacity
boolean containsCapacity(String key)
Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
-
getCapacity
@Deprecated Map<String,Generated.Quantity> getCapacity()
Deprecated.UsegetCapacityMap()instead.
-
getCapacityMap
Map<String,Generated.Quantity> getCapacityMap()
Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
-
getCapacityOrDefault
Generated.Quantity getCapacityOrDefault(String key, Generated.Quantity defaultValue)
Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
-
getCapacityOrThrow
Generated.Quantity getCapacityOrThrow(String key)
Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> capacity = 1;
-
getAllocatableCount
int getAllocatableCount()
Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatable = 2;
-
containsAllocatable
boolean containsAllocatable(String key)
Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatable = 2;
-
getAllocatable
@Deprecated Map<String,Generated.Quantity> getAllocatable()
Deprecated.UsegetAllocatableMap()instead.
-
getAllocatableMap
Map<String,Generated.Quantity> getAllocatableMap()
Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatable = 2;
-
getAllocatableOrDefault
Generated.Quantity getAllocatableOrDefault(String key, Generated.Quantity defaultValue)
Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatable = 2;
-
getAllocatableOrThrow
Generated.Quantity getAllocatableOrThrow(String key)
Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity. +optional
map<string, .k8s.io.apimachinery.pkg.api.resource.Quantity> allocatable = 2;
-
hasPhase
boolean hasPhase()
NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated. +optional
optional string phase = 3;- Returns:
- Whether the phase field is set.
-
getPhase
String getPhase()
NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated. +optional
optional string phase = 3;- Returns:
- The phase.
-
getPhaseBytes
com.google.protobuf.ByteString getPhaseBytes()
NodePhase is the recently observed lifecycle phase of the node. More info: https://kubernetes.io/docs/concepts/nodes/node/#phase The field is never populated, and now is deprecated. +optional
optional string phase = 3;- Returns:
- The bytes for phase.
-
getConditionsList
List<Generated.NodeCondition> getConditionsList()
Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition +optional +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type
repeated .k8s.io.api.core.v1.NodeCondition conditions = 4;
-
getConditions
Generated.NodeCondition getConditions(int index)
Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition +optional +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type
repeated .k8s.io.api.core.v1.NodeCondition conditions = 4;
-
getConditionsCount
int getConditionsCount()
Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition +optional +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type
repeated .k8s.io.api.core.v1.NodeCondition conditions = 4;
-
getConditionsOrBuilderList
List<? extends Generated.NodeConditionOrBuilder> getConditionsOrBuilderList()
Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition +optional +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type
repeated .k8s.io.api.core.v1.NodeCondition conditions = 4;
-
getConditionsOrBuilder
Generated.NodeConditionOrBuilder getConditionsOrBuilder(int index)
Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/reference/node/node-status/#condition +optional +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type
repeated .k8s.io.api.core.v1.NodeCondition conditions = 4;
-
getAddressesList
List<Generated.NodeAddress> getAddressesList()
List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP). +optional +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type
repeated .k8s.io.api.core.v1.NodeAddress addresses = 5;
-
getAddresses
Generated.NodeAddress getAddresses(int index)
List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP). +optional +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type
repeated .k8s.io.api.core.v1.NodeAddress addresses = 5;
-
getAddressesCount
int getAddressesCount()
List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP). +optional +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type
repeated .k8s.io.api.core.v1.NodeAddress addresses = 5;
-
getAddressesOrBuilderList
List<? extends Generated.NodeAddressOrBuilder> getAddressesOrBuilderList()
List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP). +optional +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type
repeated .k8s.io.api.core.v1.NodeAddress addresses = 5;
-
getAddressesOrBuilder
Generated.NodeAddressOrBuilder getAddressesOrBuilder(int index)
List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/reference/node/node-status/#addresses Note: This field is declared as mergeable, but the merge key is not sufficiently unique, which can cause data corruption when it is merged. Callers should instead use a full-replacement patch. See https://pr.k8s.io/79391 for an example. Consumers should assume that addresses can change during the lifetime of a Node. However, there are some exceptions where this may not be possible, such as Pods that inherit a Node's address in its own status or consumers of the downward API (status.hostIP). +optional +patchMergeKey=type +patchStrategy=merge +listType=map +listMapKey=type
repeated .k8s.io.api.core.v1.NodeAddress addresses = 5;
-
hasDaemonEndpoints
boolean hasDaemonEndpoints()
Endpoints of daemons running on the Node. +optional
optional .k8s.io.api.core.v1.NodeDaemonEndpoints daemonEndpoints = 6;- Returns:
- Whether the daemonEndpoints field is set.
-
getDaemonEndpoints
Generated.NodeDaemonEndpoints getDaemonEndpoints()
Endpoints of daemons running on the Node. +optional
optional .k8s.io.api.core.v1.NodeDaemonEndpoints daemonEndpoints = 6;- Returns:
- The daemonEndpoints.
-
getDaemonEndpointsOrBuilder
Generated.NodeDaemonEndpointsOrBuilder getDaemonEndpointsOrBuilder()
Endpoints of daemons running on the Node. +optional
optional .k8s.io.api.core.v1.NodeDaemonEndpoints daemonEndpoints = 6;
-
hasNodeInfo
boolean hasNodeInfo()
Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/reference/node/node-status/#info +optional
optional .k8s.io.api.core.v1.NodeSystemInfo nodeInfo = 7;- Returns:
- Whether the nodeInfo field is set.
-
getNodeInfo
Generated.NodeSystemInfo getNodeInfo()
Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/reference/node/node-status/#info +optional
optional .k8s.io.api.core.v1.NodeSystemInfo nodeInfo = 7;- Returns:
- The nodeInfo.
-
getNodeInfoOrBuilder
Generated.NodeSystemInfoOrBuilder getNodeInfoOrBuilder()
Set of ids/uuids to uniquely identify the node. More info: https://kubernetes.io/docs/reference/node/node-status/#info +optional
optional .k8s.io.api.core.v1.NodeSystemInfo nodeInfo = 7;
-
getImagesList
List<Generated.ContainerImage> getImagesList()
List of container images on this node +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerImage images = 8;
-
getImages
Generated.ContainerImage getImages(int index)
List of container images on this node +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerImage images = 8;
-
getImagesCount
int getImagesCount()
List of container images on this node +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerImage images = 8;
-
getImagesOrBuilderList
List<? extends Generated.ContainerImageOrBuilder> getImagesOrBuilderList()
List of container images on this node +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerImage images = 8;
-
getImagesOrBuilder
Generated.ContainerImageOrBuilder getImagesOrBuilder(int index)
List of container images on this node +optional +listType=atomic
repeated .k8s.io.api.core.v1.ContainerImage images = 8;
-
getVolumesInUseList
List<String> getVolumesInUseList()
List of attachable volumes in use (mounted) by the node. +optional +listType=atomic
repeated string volumesInUse = 9;- Returns:
- A list containing the volumesInUse.
-
getVolumesInUseCount
int getVolumesInUseCount()
List of attachable volumes in use (mounted) by the node. +optional +listType=atomic
repeated string volumesInUse = 9;- Returns:
- The count of volumesInUse.
-
getVolumesInUse
String getVolumesInUse(int index)
List of attachable volumes in use (mounted) by the node. +optional +listType=atomic
repeated string volumesInUse = 9;- Parameters:
index- The index of the element to return.- Returns:
- The volumesInUse at the given index.
-
getVolumesInUseBytes
com.google.protobuf.ByteString getVolumesInUseBytes(int index)
List of attachable volumes in use (mounted) by the node. +optional +listType=atomic
repeated string volumesInUse = 9;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the volumesInUse at the given index.
-
getVolumesAttachedList
List<Generated.AttachedVolume> getVolumesAttachedList()
List of volumes that are attached to the node. +optional +listType=atomic
repeated .k8s.io.api.core.v1.AttachedVolume volumesAttached = 10;
-
getVolumesAttached
Generated.AttachedVolume getVolumesAttached(int index)
List of volumes that are attached to the node. +optional +listType=atomic
repeated .k8s.io.api.core.v1.AttachedVolume volumesAttached = 10;
-
getVolumesAttachedCount
int getVolumesAttachedCount()
List of volumes that are attached to the node. +optional +listType=atomic
repeated .k8s.io.api.core.v1.AttachedVolume volumesAttached = 10;
-
getVolumesAttachedOrBuilderList
List<? extends Generated.AttachedVolumeOrBuilder> getVolumesAttachedOrBuilderList()
List of volumes that are attached to the node. +optional +listType=atomic
repeated .k8s.io.api.core.v1.AttachedVolume volumesAttached = 10;
-
getVolumesAttachedOrBuilder
Generated.AttachedVolumeOrBuilder getVolumesAttachedOrBuilder(int index)
List of volumes that are attached to the node. +optional +listType=atomic
repeated .k8s.io.api.core.v1.AttachedVolume volumesAttached = 10;
-
hasConfig
boolean hasConfig()
Status of the config assigned to the node via the dynamic Kubelet config feature. +optional
optional .k8s.io.api.core.v1.NodeConfigStatus config = 11;- Returns:
- Whether the config field is set.
-
getConfig
Generated.NodeConfigStatus getConfig()
Status of the config assigned to the node via the dynamic Kubelet config feature. +optional
optional .k8s.io.api.core.v1.NodeConfigStatus config = 11;- Returns:
- The config.
-
getConfigOrBuilder
Generated.NodeConfigStatusOrBuilder getConfigOrBuilder()
Status of the config assigned to the node via the dynamic Kubelet config feature. +optional
optional .k8s.io.api.core.v1.NodeConfigStatus config = 11;
-
getRuntimeHandlersList
List<Generated.NodeRuntimeHandler> getRuntimeHandlersList()
The available runtime handlers. +featureGate=RecursiveReadOnlyMounts +featureGate=UserNamespacesSupport +optional +listType=atomic
repeated .k8s.io.api.core.v1.NodeRuntimeHandler runtimeHandlers = 12;
-
getRuntimeHandlers
Generated.NodeRuntimeHandler getRuntimeHandlers(int index)
The available runtime handlers. +featureGate=RecursiveReadOnlyMounts +featureGate=UserNamespacesSupport +optional +listType=atomic
repeated .k8s.io.api.core.v1.NodeRuntimeHandler runtimeHandlers = 12;
-
getRuntimeHandlersCount
int getRuntimeHandlersCount()
The available runtime handlers. +featureGate=RecursiveReadOnlyMounts +featureGate=UserNamespacesSupport +optional +listType=atomic
repeated .k8s.io.api.core.v1.NodeRuntimeHandler runtimeHandlers = 12;
-
getRuntimeHandlersOrBuilderList
List<? extends Generated.NodeRuntimeHandlerOrBuilder> getRuntimeHandlersOrBuilderList()
The available runtime handlers. +featureGate=RecursiveReadOnlyMounts +featureGate=UserNamespacesSupport +optional +listType=atomic
repeated .k8s.io.api.core.v1.NodeRuntimeHandler runtimeHandlers = 12;
-
getRuntimeHandlersOrBuilder
Generated.NodeRuntimeHandlerOrBuilder getRuntimeHandlersOrBuilder(int index)
The available runtime handlers. +featureGate=RecursiveReadOnlyMounts +featureGate=UserNamespacesSupport +optional +listType=atomic
repeated .k8s.io.api.core.v1.NodeRuntimeHandler runtimeHandlers = 12;
-
hasFeatures
boolean hasFeatures()
Features describes the set of features implemented by the CRI implementation. +featureGate=SupplementalGroupsPolicy +optional
optional .k8s.io.api.core.v1.NodeFeatures features = 13;- Returns:
- Whether the features field is set.
-
getFeatures
Generated.NodeFeatures getFeatures()
Features describes the set of features implemented by the CRI implementation. +featureGate=SupplementalGroupsPolicy +optional
optional .k8s.io.api.core.v1.NodeFeatures features = 13;- Returns:
- The features.
-
getFeaturesOrBuilder
Generated.NodeFeaturesOrBuilder getFeaturesOrBuilder()
Features describes the set of features implemented by the CRI implementation. +featureGate=SupplementalGroupsPolicy +optional
optional .k8s.io.api.core.v1.NodeFeatures features = 13;
-
-