io.k8s.api.resource.v1alpha2.ResourceClaimSchedulingStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bl-k8s130 Show documentation
Show all versions of bl-k8s130 Show documentation
Programmatic resource management for Kubernetes
package io.k8s.api.resource.v1alpha2;
import java.lang.String;
import java.util.List;
/**
* ResourceClaimSchedulingStatus contains information about one particular ResourceClaim with "WaitForFirstConsumer" allocation mode.
*/
public class ResourceClaimSchedulingStatus {
public String name;
public List unsuitableNodes;
/**
* Name matches the pod.spec.resourceClaims[*
].Name field.
*/
public ResourceClaimSchedulingStatus name(String name) {
this.name = name;
return this;
}
/**
* UnsuitableNodes lists nodes that the ResourceClaim cannot be allocated for.
*
* The size of this field is limited to 128, the same as for PodSchedulingSpec.PotentialNodes. This may get increased in the future, but not reduced.
*/
public ResourceClaimSchedulingStatus unsuitableNodes(List unsuitableNodes) {
this.unsuitableNodes = unsuitableNodes;
return this;
}
public static ResourceClaimSchedulingStatus resourceClaimSchedulingStatus() {
return new ResourceClaimSchedulingStatus();
}
}