Ensuring pod reliability – Container Orchestration with Kubernetes
We talked about health checks in Chapter 4 , Creating and Managing Container Images, and I also mentioned that you should not use them on the Docker level and instead…
We talked about health checks in Chapter 4 , Creating and Managing Container Images, and I also mentioned that you should not use them on the Docker level and instead…
We’ve discussed troubleshooting running containers, but what if the containers fail to start for some reason? Let’s look at the following example: $ kubectl run nginx-1 –image=nginx-1 Now, let’s try…
Similar to how we can browse logs from a container using docker logs, we can browse logs from a container within a Kubernetes pod using the kubectl logs command. If…
Important tips Set imagePullPolicy to IfNotPresent unless you have a strong reason for using Always or Never. This will ensure that your containers boot up quickly and you don’t download…
Let’s understand the file first. The file contains the following: There are other settings on the pod manifest, but we will explore these as and when we progress.
Kubernetes pods are the basic building blocks of a Kubernetes application. A pod contains one or more containers, and all containers within a pod are always scheduled in the same…
KinD allows you to run a multi-node Kubernetes cluster on a single server that runs Docker. We understand that a multi-node Kubernetes cluster requires multiple machines, but how can we…
We will install Minikube in the same Linux machine we used to install Docker in Chapter 3, Containerization with Docker. So, if you haven’t done that, please go to Chapter…
Well, that’s a lot of moving parts, but the good news is that tools are available to set that up for you, and provisioning a Kubernetes cluster is very simple.…
Kubernetes is made of a cluster of nodes. There are two possible roles for nodes in Kubernetes – control plane nodes and worker nodes. The control plane nodes control the…