Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can save your Kubernetes manifests in any order. Stuff that depends on other stuff just won't come up until the other stuff exists.

For example, I can declare a Pod that mounts a Secret. If the Secret does not exist, the Pod won't start -- but once I create the Secret the pod will start without requiring further manual intervention.

What Kubernetes really is, under the hood, is a bunch of controllers that are constantly comparing the desired state of the world with the actual state, and taking action if the actual state does not match.

The configuration model exposed to users is declarative. The eventual consistency model means you don't need to tell it what order things need to be done.



That is Puppet, too. But Puppet was easy. K8s isn’t.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: