Documentation ¶
Index ¶
Constants ¶
View Source
const PluginName = "DefaultTolerationSeconds"
PluginName indicates name of admission plugin.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Plugin ¶ added in v1.9.1
Plugin contains the client used by the admission controller It will add default tolerations for every pod that tolerate taints `notReady:NoExecute` and `unreachable:NoExecute`, with tolerationSeconds of 300s. If the pod already specifies a toleration for taint `notReady:NoExecute` or `unreachable:NoExecute`, the plugin won't touch it.
func NewDefaultTolerationSeconds ¶
func NewDefaultTolerationSeconds() *Plugin
NewDefaultTolerationSeconds creates a new instance of the DefaultTolerationSeconds admission controller
Click to show internal directories.
Click to hide internal directories.