package ttl
import "k8s.io/kubernetes/pkg/controller/ttl"
Index ¶
Types ¶
type Controller ¶
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 ¶
func (ttlc *Controller) Run(workers int, stopCh <-chan struct{})
Run begins watching and syncing.
Source Files ¶
ttl_controller.go
- Version
- v1.22.4
- Published
- Nov 17, 2021
- Platform
- js/wasm
- Imports
- 21 packages
- Last checked
- 3 minutes ago –
Tools for package owners.