Use NC to fix deprecated taint key name

This commit is contained in:
Harry Zhang
2017-09-15 15:46:26 +08:00
parent 221db2bd6b
commit 2afab02349
3 changed files with 153 additions and 0 deletions

View File

@@ -22,6 +22,10 @@ const (
// when node is not ready, and removed when node becomes ready.
TaintNodeNotReady = "node.kubernetes.io/not-ready"
// DeprecatedTaintNodeNotReady is the deprecated version of TaintNodeNotReady.
// It is deprecated since 1.9
DeprecatedTaintNodeNotReady = "node.alpha.kubernetes.io/notReady"
// When feature-gate for TaintBasedEvictions=true flag is enabled,
// TaintNodeUnreachable would be automatically added by node controller
// when node becomes unreachable (corresponding to NodeReady status ConditionUnknown)