Tainted node by condition.

This commit is contained in:
Klaus Ma
2017-07-19 23:51:19 +08:00
parent 13b006aca2
commit 55fa10c182
6 changed files with 302 additions and 25 deletions

View File

@@ -112,6 +112,7 @@ func startNodeController(ctx ControllerContext) (bool, error) {
ipam.CIDRAllocatorType(ctx.Options.CIDRAllocatorType),
ctx.Options.EnableTaintManager,
utilfeature.DefaultFeatureGate.Enabled(features.TaintBasedEvictions),
utilfeature.DefaultFeatureGate.Enabled(features.TaintNodesByCondition),
)
if err != nil {
return true, err