⎈ k8s knowledge compiler

Controller [glossary]deterministic

A control loop that watches the shared state of the cluster through the apiserver and makes changes attempting to move the current state towards the desired state.

architecturefundamentalapicliextensibility

In Kubernetes, controllers are control loops that watch the state of your [cluster](#gloss:cluster), then make or request changes where needed. Each controller tries to move the current cluster state closer to the desired state.

Controllers watch the shared state of your cluster through the [apiserver](#gloss:kube-apiserver) (part of the [control-plane](#gloss:control-plane)).

Some controllers also run inside the control plane, providing control loops that are core to Kubernetes' operations. For example: the deployment controller, the daemonset controller, the namespace controller, and the persistent volume controller (and others) all run within the [kube-controller-manager](#gloss:kube-controller-manager).

Sources

reference/glossary/controller.md · doc — “A control loop that watches the shared state of the cluster through the apiserver and makes changes attempting to move the current state towards the desired state.”

Related (25)

references HorizontalPodAutoscaler Walkthrough — controller conf=1
references Run a Replicated Stateful Application — controllers conf=1
references Use Cascading Deletion in a Cluster — controller conf=1
references Troubleshooting Clusters — controllers conf=1
references Secrets — controller conf=1
references Pod Security Admission — controller conf=1
references Dynamic Resource Allocation — controller conf=1
references Taints and Tolerations — controller conf=1
references Volume Populators and Data Sources — controllers conf=1
references Volume Health Monitoring — controller conf=1
references EndpointSlices — controller conf=1
references Autoscaling Workloads — controller conf=1
references Workloads — controllers conf=1
references Pod Lifecycle — controller conf=1
references Pods — controller conf=1
references Horizontal Pod Autoscaling — controller conf=1
references Vertical Pod Autoscaling — controller conf=1
references Automatic Cleanup for Finished Jobs — controller conf=1
references CronJob — controller conf=1
references Deployments — controller conf=1
references StatefulSets — controller conf=1
references ReplicaSet — controller conf=1
references Jobs — controller conf=1
references Cloud Controller Manager — controllers conf=1

← all Docs