Kubernetes is an open source container orchestration tool used across multiple nodes in the cluster. It was started by Google, and now, developers from other companies are contributing to it. It provides mechanisms for application deployment, scheduling, updating, maintenance, and scaling. Kubernetes' auto-placement, auto-restart, and auto-replication features make sure that the desired state of the application is maintained, which is defined by the user. Users define applications through YAML or JSON files, which we'll see later in this recipe. These YAML and JSON files also contain the API version (apiVersion field) to identify the schema.
Let's look at some of the key components and concepts for Kubernetes:
- Pods: A pod, which consists of one or more containers, is the deployment unit of Kubernetes. Each container in a pod shares...