Class PodSchedulingContextSpec

  • All Implemented Interfaces:
    io.fabric8.kubernetes.api.builder.Editable<PodSchedulingContextSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource, Serializable

    @Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator")
    public class PodSchedulingContextSpec
    extends Object
    implements io.fabric8.kubernetes.api.builder.Editable<PodSchedulingContextSpecBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
    PodSchedulingContextSpec describes where resources for the Pod are needed.
    See Also:
    Serialized Form
    • Constructor Detail

      • PodSchedulingContextSpec

        public PodSchedulingContextSpec()
        No args constructor for use in serialization
      • PodSchedulingContextSpec

        public PodSchedulingContextSpec​(List<String> potentialNodes,
                                        String selectedNode)
    • Method Detail

      • getPotentialNodes

        public List<String> getPotentialNodes()
        PotentialNodes lists nodes where the Pod might be able to run.


        The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.

      • setPotentialNodes

        public void setPotentialNodes​(List<String> potentialNodes)
        PotentialNodes lists nodes where the Pod might be able to run.


        The size of this field is limited to 128. This is large enough for many clusters. Larger clusters may need more attempts to find a node that suits all pending resources. This may get increased in the future, but not reduced.

      • getSelectedNode

        public String getSelectedNode()
        SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
      • setSelectedNode

        public void setSelectedNode​(String selectedNode)
        SelectedNode is the node for which allocation of ResourceClaims that are referenced by the Pod and that use "WaitForFirstConsumer" allocation is to be attempted.
      • getAdditionalProperties

        public Map<String,​Object> getAdditionalProperties()
      • setAdditionalProperty

        public void setAdditionalProperty​(String name,
                                          Object value)
      • setAdditionalProperties

        public void setAdditionalProperties​(Map<String,​Object> additionalProperties)