Kubernetes Architecture
Kubernetes Architecture
Kubernetes Architecture
PODS
• Pods are the smallest, most basic deployable
objects in Kubernetes. A Pod represents a
single instance of a running process in your
cluster. Pods contain one or more containers,
such as Docker containers. When a Pod runs
multiple containers, the containers are
managed as a single entity and share the Pod's
resources.
Kubernetes kubelet vs kubectl
• kubectl is the command-line interface (CLI) tool for working with a
Kubernetes cluster. Kubelet is the technology that applies, creates,
updates, and destroys containers on a Kubernetes node. Let’s
explore the details.
• kubectl is the primary means by which a developer can interact
with a Kubernetes cluster. For example, if you want to get the
basic information about the nodes in a cluster, you’d type the
command:
kubectl get nodes
/usr/bin/kubelet
If you want to find out the details about kubelet, execute the
following command:
kubelet --help
• The kubelet vs kubeclt comparison boils down
to this:
• kubelet is Kubernetes’s mechanism for
creating containers in a worker node,
while kubectl is the CLI tool that developers
use for interacting with a Kubernetes cluster.
• If you know which piece of the Kubernetes
architecture you need to interact with, the
choice between kubectl and kubelet will be
clear.
Kubeadm
• Kubeadm is a tool used to build Kubernetes (K8s)
clusters.
• Kubeadm performs the actions necessary to get a
minimum viable cluster up and running quickly.
• By design, it cares only about bootstrapping, not
about provisioning machines (underlying worker
and master nodes).
• Kubeadm also serves as a building block for
higher-level and more tailored tooling.
Kubeadm’s Features
• Common use cases for Kubeadm include testing, creating baselines for
more advanced K8s deployments, and providing new K8s users a simple
starting point for cluster configuration. The specific features that make
kubeadm useful in those applications are:
• Building block for other toolsKubeadm is not just a K8s installer. It also
serves as a building block for other tools like Kubespray.