Unverified Commit c6c658c6 authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #60004 from k82cn/update_taint_comments

Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. Updated comments to correct flag of taint. Signed-off-by: 's avatarDa K. Ma <madaxa@cn.ibm.com> **Release note**: ```release-note None ```
parents 20a6749c 4df591fc
...@@ -37,22 +37,22 @@ const ( ...@@ -37,22 +37,22 @@ const (
DeprecatedTaintNodeUnreachable = "node.alpha.kubernetes.io/unreachable" DeprecatedTaintNodeUnreachable = "node.alpha.kubernetes.io/unreachable"
// TaintNodeOutOfDisk will be added when node becomes out of disk // TaintNodeOutOfDisk will be added when node becomes out of disk
// and feature-gate for TaintBasedEvictions flag is enabled, // and feature-gate for TaintNodesByCondition flag is enabled,
// and removed when node has enough disk. // and removed when node has enough disk.
TaintNodeOutOfDisk = "node.kubernetes.io/out-of-disk" TaintNodeOutOfDisk = "node.kubernetes.io/out-of-disk"
// TaintNodeMemoryPressure will be added when node has memory pressure // TaintNodeMemoryPressure will be added when node has memory pressure
// and feature-gate for TaintBasedEvictions flag is enabled, // and feature-gate for TaintNodesByCondition flag is enabled,
// and removed when node has enough memory. // and removed when node has enough memory.
TaintNodeMemoryPressure = "node.kubernetes.io/memory-pressure" TaintNodeMemoryPressure = "node.kubernetes.io/memory-pressure"
// TaintNodeDiskPressure will be added when node has disk pressure // TaintNodeDiskPressure will be added when node has disk pressure
// and feature-gate for TaintBasedEvictions flag is enabled, // and feature-gate for TaintNodesByCondition flag is enabled,
// and removed when node has enough disk. // and removed when node has enough disk.
TaintNodeDiskPressure = "node.kubernetes.io/disk-pressure" TaintNodeDiskPressure = "node.kubernetes.io/disk-pressure"
// TaintNodeNetworkUnavailable will be added when node's network is unavailable // TaintNodeNetworkUnavailable will be added when node's network is unavailable
// and feature-gate for TaintBasedEvictions flag is enabled, // and feature-gate for TaintNodesByCondition flag is enabled,
// and removed when network becomes ready. // and removed when network becomes ready.
TaintNodeNetworkUnavailable = "node.kubernetes.io/network-unavailable" TaintNodeNetworkUnavailable = "node.kubernetes.io/network-unavailable"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment