io.k8s.api.core.v1.NodeStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s131 Show documentation
Show all versions of bl-k8s131 Show documentation
Programmatic resource management for Kubernetes
The newest version!
package io.k8s.api.core.v1;
import io.k8s.api.core.v1.nodestatus.Allocatable;
import io.k8s.api.core.v1.nodestatus.Capacity;
import java.lang.String;
import java.util.List;
/**
* NodeStatus is information about the current status of a node.
*/
public class NodeStatus {
public List addresses;
public Allocatable allocatable;
public Capacity capacity;
public List conditions;
public NodeConfigStatus config;
public NodeDaemonEndpoints daemonEndpoints;
public NodeFeatures features;
public List images;
public NodeSystemInfo nodeInfo;
public String phase;
public List runtimeHandlers;
public List volumesAttached;
public List volumesInUse;
/**
* List of addresses reachable to the node. Queried from cloud provider, if available. More info: https://kubernetes.io/docs/concepts/nodes/node/#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).
*/
public NodeStatus addresses(List addresses) {
this.addresses = addresses;
return this;
}
/**
* Allocatable represents the resources of a node that are available for scheduling. Defaults to Capacity.
*/
public NodeStatus allocatable(Allocatable allocatable) {
this.allocatable = allocatable;
return this;
}
/**
* Capacity represents the total resources of a node. More info: https://kubernetes.io/docs/reference/node/node-status/#capacity
*/
public NodeStatus capacity(Capacity capacity) {
this.capacity = capacity;
return this;
}
/**
* Conditions is an array of current observed node conditions. More info: https://kubernetes.io/docs/concepts/nodes/node/#condition
*/
public NodeStatus conditions(List conditions) {
this.conditions = conditions;
return this;
}
public NodeStatus config(NodeConfigStatus config) {
this.config = config;
return this;
}
public NodeStatus daemonEndpoints(NodeDaemonEndpoints daemonEndpoints) {
this.daemonEndpoints = daemonEndpoints;
return this;
}
public NodeStatus features(NodeFeatures features) {
this.features = features;
return this;
}
/**
* List of container images on this node
*/
public NodeStatus images(List images) {
this.images = images;
return this;
}
public NodeStatus nodeInfo(NodeSystemInfo nodeInfo) {
this.nodeInfo = nodeInfo;
return this;
}
/**
* 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.
*/
public NodeStatus phase(String phase) {
this.phase = phase;
return this;
}
/**
* The available runtime handlers.
*/
public NodeStatus runtimeHandlers(List runtimeHandlers) {
this.runtimeHandlers = runtimeHandlers;
return this;
}
/**
* List of volumes that are attached to the node.
*/
public NodeStatus volumesAttached(List volumesAttached) {
this.volumesAttached = volumesAttached;
return this;
}
/**
* List of attachable volumes in use (mounted) by the node.
*/
public NodeStatus volumesInUse(List volumesInUse) {
this.volumesInUse = volumesInUse;
return this;
}
public static NodeStatus nodeStatus() {
return new NodeStatus();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy