# io.k8s.api.node.v1.Scheduling

From **Kubernetes**.

Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.

- Type: `object`

## Properties

### `nodeSelector`

- Required: false
- Type: `object`

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.

### `tolerations`

- Required: false
- Type: `array`

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.

## JSON Schema

```json
{"description":"Scheduling specifies the scheduling constraints for nodes supporting a RuntimeClass.","properties":{"nodeSelector":{"additionalProperties":{"type":"string"},"description":"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.","type":"object","x-kubernetes-map-type":"atomic"},"tolerations":{"description":"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.","items":{"$ref":"#/components/schemas/io.k8s.api.core.v1.Toleration"},"type":"array","x-kubernetes-list-type":"atomic"}},"type":"object"}
```
