Despite how amazing Docker containers are, they still require extensive scheduling and orchestration to run well. When they fail, they also need to be smoothly replaced and rebalanced.
It's a large task that is far outside the capabilities of Chef, Puppet, and other tools. This book provides an introduction to Google's Kubernetes, a cluster management system that can deploy and schedule about 7,000 containers per second.
It breaks out the operation of this system piece by piece. If you've created at least one simple container with Docker, you'll understand how to get started with Kubernetes by using one of several options.
- Examine pods, a collection of containers bundled and scheduled together
- Run through volumes, the filesystems your container can see and use
- Create and organize pods with labels and annotations
- Use replication controllers to manage replicas: multiple copies of a pod
- Set up services, long-lived endpoints that identify a set of pods in your cluster
- Get started using your own servers, VMs from the public cloud, or a managed offering from a major cloud provider
- Find examples on GitHub of Kubernetes in use, including WordPress and Guestbook