//
pkg.gl
Category
github.com/divinerapier/learn-kubernetes
plugin
pkg
admission
defaulttolerationseconds
package
0.0.0-20191024030528-a481964b876e
Repository:
https://github.com/divinerapier/learn-kubernetes.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
8
Dependents
1
Files
90 SLOC
#
Functions
NewDefaultTolerationSeconds
NewDefaultTolerationSeconds creates a new instance of the DefaultTolerationSeconds admission controller.
Register
Register registers a plugin.
#
Constants
PluginName
PluginName indicates name of admission plugin.
#
Structs
Plugin
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.