Skip to main content

Command Palette

Search for a command to run...

Exploring Kubernetes.

Published
โ€ข3 min read
Exploring Kubernetes.

Kubernetes Overview

With the widespread adoption of containers among organizations, Kubernetes, the container-centric management software, has become a standard to deploy and operate containerized applications and is one of the most important parts of DevOps.

What is Kubernetes?

Kubernetes is an open-source container orchestration or in simple words we can say container management tool, developed by Google. It automates many of the manual processes involved in deploying, managing, and scaling containerized applications.

Kubernetes offers a wide array of features that make it a popular choice for container orchestration. Some of its key features include:

Benefits of using kubernetes.

Kubernetes offers many benefits for container orchestration and managing containerized applications. Here are some advantages of K8s:

  • Kubernetes allows you to easily scale your application up or down based on demand.

  • Kubernetes ensures that your application is highly available by automatically rescheduling and replacing the failed containers.

  • K8s provides a standardised way to package and deploy applications using containers.

  • It optimizes resource allocation and minimizes wastage.

  • K8s can detect and replace failed containers or nodes, ensuring that the application remains available and healthy.

  • You can easily perform updates to your applications without downtime using rolling updates.

Architecture of Kubernetes

Master Node/Control Plane - The control plane, also known as the master node, is the central management entity in a Kubernetes cluster. It oversees cluster operations, such as scheduling nodes to pods, monitoring node health, and managing cluster-wide configuration and state.

Components of Master Node -

  • API server: Acts as the frontend for the Kubernetes Control Plane.

  • etcd: Consistent and highly available key-value store used to store cluster data.

  • Controller Manager: Maintain the desired state of the cluster

  • Scheduler: Assign workload to nodes based on resource availability.

Worker Node- The worker nodes are the part of the Kubernetes clusters which actually execute the containers and applications on them.

Components of Master Node -

  • Kubelet: Ensures containers are running in the nodes as expected.

  • Container Runtime: responsible to run containers inside the pods

  • Kube Proxy: maintain network rules and forwards traffic to appropriate containers.

Pods: The smallest deployable units in k8s, represent one or more containers that share the same network namespace and storage volume.

Difference Between kubectl and Kubelet:

kubectl is a command-line tool used to interact with Kubernetes clusters, allowing users to manage applications, view cluster resources, and execute administrative tasks. On the other hand, kubelet is an agent that runs on each worker node and communicates with the master node to manage container operations on the node.

Conclusion

๐Ÿ“š Understanding Kubernetes architecture is crucial for mastering container orchestration. Take the time to explore its components and interactions to unlock the full potential of Kubernetes in your DevOps journey. Happy Learning! ๐ŸŒˆ #Kubernetes #ContainerOrchestration #DevOpsArchitecture #Automation ๐ŸŒŸ.


Thanks all. Good luck out there!

Follow for more such amazing content :)

Happy Learning ๐Ÿ˜Š


More from this blog

Abhishek Verma's Blog

10 posts