mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-04 18:00:08 +00:00
Added node taints labels.
This commit is contained in:
parent
4d2a721223
commit
c85e4dc1de
@ -28,6 +28,26 @@ const (
|
|||||||
// and removed when node becomes reachable (NodeReady status ConditionTrue).
|
// and removed when node becomes reachable (NodeReady status ConditionTrue).
|
||||||
TaintNodeUnreachable = "node.alpha.kubernetes.io/unreachable"
|
TaintNodeUnreachable = "node.alpha.kubernetes.io/unreachable"
|
||||||
|
|
||||||
|
// When feature-gate for TaintBasedEvictions=true flag is enabled,
|
||||||
|
// TaintNodeOutOfDisk would be automatically added by node controller
|
||||||
|
// when node becomes out of disk, and removed when node has enough disk.
|
||||||
|
TaintNodeOutOfDisk = "node.alpha.kubernetes.io/outOfDisk"
|
||||||
|
|
||||||
|
// When feature-gate for TaintBasedEvictions=true flag is enabled,
|
||||||
|
// TaintNodeMemoryPressure would be automatically added by node controller
|
||||||
|
// when node has memory pressure, and removed when node has enough memory.
|
||||||
|
TaintNodeMemoryPressure = "node.alpha.kubernetes.io/memoryPressure"
|
||||||
|
|
||||||
|
// When feature-gate for TaintBasedEvictions=true flag is enabled,
|
||||||
|
// TaintNodeDiskPressure would be automatically added by node controller
|
||||||
|
// when node has disk pressure, and removed when node has enough disk.
|
||||||
|
TaintNodeDiskPressure = "node.alpha.kubernetes.io/diskPressure"
|
||||||
|
|
||||||
|
// When feature-gate for TaintBasedEvictions=true flag is enabled,
|
||||||
|
// TaintNodeNetworkUnavailable would be automatically added by node controller
|
||||||
|
// when node's network is unavailable, and removed when network becomes ready.
|
||||||
|
TaintNodeNetworkUnavailable = "node.alpha.kubernetes.io/networkUnavailable"
|
||||||
|
|
||||||
// When kubelet is started with the "external" cloud provider, then
|
// When kubelet is started with the "external" cloud provider, then
|
||||||
// it sets this taint on a node to mark it as unusable, until a controller
|
// it sets this taint on a node to mark it as unusable, until a controller
|
||||||
// from the cloud-controller-manager intitializes this node, and then removes
|
// from the cloud-controller-manager intitializes this node, and then removes
|
||||||
|
Loading…
Reference in New Issue
Block a user