mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 07:27:21 +00:00
Change taint/toleration annotations to api fields.
This commit is contained in:
@@ -2001,6 +2001,9 @@ type PodSpec struct {
|
||||
// If not specified, the pod will be dispatched by default scheduler.
|
||||
// +optional
|
||||
SchedulerName string
|
||||
// If specified, the pod's tolerations.
|
||||
// +optional
|
||||
Tolerations []Toleration
|
||||
}
|
||||
|
||||
// Sysctl defines a kernel parameter to be set
|
||||
@@ -2623,6 +2626,10 @@ type NodeSpec struct {
|
||||
// Unschedulable controls node schedulability of new pods. By default node is schedulable.
|
||||
// +optional
|
||||
Unschedulable bool
|
||||
|
||||
// If specified, the node's taints.
|
||||
// +optional
|
||||
Taints []Taint
|
||||
}
|
||||
|
||||
// DaemonEndpoint contains information about a single Daemon endpoint.
|
||||
|
||||
Reference in New Issue
Block a user