All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.k8s.api.resource.v1alpha2.ResourceClaimSchedulingStatus Maven / Gradle / Ivy

There is a newer version: 1.30.4
Show newest version
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();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy