Skip to content

node.v1.scheduling

"Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass."

Index

Fields

fn withNodeSelector

withNodeSelector(nodeSelector)

"nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."

fn withNodeSelectorMixin

withNodeSelectorMixin(nodeSelector)

"nodeSelector lists labels that must be present on nodes that support this RuntimeClass. Pods using this RuntimeClass can only be scheduled to a node matched by this selector. The RuntimeClass nodeSelector is merged with a pod's existing nodeSelector. Any conflicts will cause the pod to be rejected in admission."

Note: This function appends passed data to existing values

fn withTolerations

withTolerations(tolerations)

"tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."

fn withTolerationsMixin

withTolerationsMixin(tolerations)

"tolerations are appended (excluding duplicates) to pods running with this RuntimeClass during admission, effectively unioning the set of nodes tolerated by the pod and the RuntimeClass."

Note: This function appends passed data to existing values