Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶ added in v1.20.0
type Controller struct {
// contains filtered or unexported fields
}
Controller sets ttl annotations on nodes, based on cluster size.
func NewTTLController ¶
func NewTTLController(nodeInformer informers.NodeInformer, kubeClient clientset.Interface) *Controller
NewTTLController creates a new TTLController
func (*Controller) Run ¶ added in v1.20.0
func (ttlc *Controller) Run(workers int, stopCh <-chan struct{})
Run begins watching and syncing.
Click to show internal directories.
Click to hide internal directories.