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(ctx context.Context, nodeInformer informers.NodeInformer, kubeClient clientset.Interface) *Controller
NewTTLController creates a new TTLController
func (*Controller) Run ¶
func (ttlc *Controller) Run(ctx context.Context, workers int)
Run begins watching and syncing.
Source Files ¶
ttl_controller.go
- Version
- v1.33.0 (latest)
- Published
- Apr 23, 2025
- Platform
- linux/amd64
- Imports
- 21 packages
- Last checked
- 3 hours ago –
Tools for package owners.