Kubernetes Vs Docker

Bagiyalakshmi
featurepreneur
Published in
2 min readDec 11, 2022

There is a misconception that kubernetes and docker are same. They are different. Kubernetes also known as K8s, is an open-source(anyone can use) system for automating deployment, scaling, and management of containerized applications.

While Docker is a container runtime, Kubernetes is a platform for running and managing containers from many container runtimes.

Docker helps in creating image but, it is difficult to manage more images. Docker uses application whereas Kubernetes uses no application.

Kubernetes detects and create new pods and helps managing the request. 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.

Worker node manages the pods, in way they work, do they face any down time? or any overloading.

When pods are not working, information is conveys to Master node, and it will come to play. Master node manages the entire cluster. It is like the brain of kubernetes.

Kind —It is a tool for running local Kubernetes clusters using Docker container “nodes”.

KubeCTL — It is a command-line tool, kubectl, allows you to run commands against Kubernetes clusters.

Installation and setup

  1. KubeCTL installation
https://kubernetes.io/docs/tasks/tools/install-kubectl/
curl -LO "https://dl.k8s.io/release/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl"
curl -LO "https://dl.k8s.io/$(curl -L -s https://dl.k8s.io/release/stable.txt)/bin/linux/amd64/kubectl.sha256"
echo "$(<kubectl.sha256) kubectl" | sha256sum --check
sudo install -o root -g root -m 0755 kubectl /usr/local/bin/kubectl
kubectl version --client
kubectl cluster-info

Be tuned for more updates.

Thank you !!

--

--

Bagiyalakshmi
featurepreneur

Learning something new everyday keeps me busy and refresh