Ignore node termination taint in scale up

This commit is contained in:
Aleksandra Malinowska 2019-12-11 15:17:03 +01:00
parent 2d80cb340d
commit 383199ab6e
1 changed files with 3 additions and 0 deletions

View File

@ -21,6 +21,8 @@ import (
schedulerapi "k8s.io/kubernetes/pkg/scheduler/api"
)
const gkeNodeTerminationHandlerTaint = "cloud.google.com/impending-node-termination"
// TaintKeySet is a set of taint key
type TaintKeySet map[string]bool
@ -36,5 +38,6 @@ var (
v1.TaintNodePIDPressure: true,
schedulerapi.TaintExternalCloudProvider: true,
schedulerapi.TaintNodeShutdown: true,
gkeNodeTerminationHandlerTaint: true,
}
)