In a nutshell, Kubernetes allows running and managing cloud-native apps that consist of multiple containers. To get started you need to know some terminology. For example, a ‘Deployment’ contains ‘Pods’ that can contain multiple Docker containers (but typically contain one container). ‘Deployments’ are run in ‘Worker nodes’ that are part of a ‘Cluster’. ‘Services’ define how deployments can be accessed. I like the following video which explains this terminology well.

To start using Kubernetes on Bluemix you should follow this three-part tutorial.

Part 2 shows how to run multiple replicas of pods and how to scale them up and down. The screenshot shows the Kubernetes web interface that displays the status of the three replicas/pods. The sample also explains how Kubernetes can do health checks. If Kubernetes detects an issue with a pod, it stops it and creates a new one automatically.

Part 3 of the tutorial shows how to use a Bluemix service from a container running in Kubernetes. After you’ve created an instance of a Bluemix service, you can bind it to the Kubernetes cluster. In the configuration YML file, the service credentials are mounted to a volume. Containers can read these from there at runtime.