mirror of
https://github.com/jpetazzo/container.training.git
synced 2026-03-05 19:00:38 +00:00
This was discussed and agreed in #246. It will probably break a few outstanding PRs as well as a few external links but it's for the better good long term.
464 B
464 B
Declarative vs imperative in Kubernetes
-
Virtually everything we create in Kubernetes is created from a spec
-
Watch for the
specfields in the YAML files later! -
The spec describes how we want the thing to be
-
Kubernetes will reconcile the current state with the spec
(technically, this is done by a number of controllers) -
When we want to change some resource, we update the spec
-
Kubernetes will then converge that resource