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…
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…
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…
Kubernetes solves these problems by providing HA, scalability, and zero downtime out of the box. It essentially performs the following functions to provide them: between containers through a domain name.…
In the previous chapter, we covered creating and managing container images, where we discussed container images, Dockerfiles, and their directives and components. We also looked at the best practices for…
Apart from running your registry in a dedicated Docker server, other cloud and on-premises options exist. Most public cloud providers offer paid online registries and container-hosting solutions that you can…
Let’s start by creating a Dockerfile: FROM golang:1.20.5 AS build WORKDIR /tmp COPY app.go . RUN GO111MODULE=off GOOS=linux go build -a -installsuffix cgo -o app . && chmod +x ./app…
Optimizing containers with distroless images Distroless containers are one of the latest trends in the container world. They are promising because they consider all the aspects of optimizing containers for…