Kubernetes (k8s)

Kubernetes, sometimes stylistically written as k8s, is an open-source system to automate the deployment, scaling, and management of containerized applications. Kubernetes includes networking and storage abstractions to make it easy for deployments to be distributed across physical machine boundaries while maintaining the ability to communicate. Kubernetes provides the means to eliminate single points of failure, automatically scale, and to update containers without downtime through built-in services for service discovery, load balancing, automated roll-outs/roll-backs, self healing, and configuration management.

How Kubernetes Works

Kubernetes works by maintaining a cluster of nodes, where each node is a physical or virtual machine capable of running one or more pods and managed by an agent called kublet. A pod is a group of containers that share a common configuration and are scheduled onto the same node. Kubernetes is declaratively configured by a manifest file, which describes the desired state of the cluster. Differences between the desired state are reconciled through the control plane, which is an extensible set of components that are responsible for maintaining the desired state of the cluster.

graph TD subgraph Cluster Master("fa:fa-asterisk Master Node") subgraph Node1[Node] Kublet1("fa:fa-cog Kublet") --> Pod1[Pod] Kublet1 --> Pod2[Pod] Pod1[Pod] Pod2[Pod] end subgraph Node2[Node] Kublet2("fa:fa-cog Kublet") --> Pod3[Pod] Kublet2 --> Pod4 Pod3[Pod] Pod4[Pod] end subgraph Node3[Node] Kublet3("fa:fa-cog Kublet") --> Pod5[Pod] Kublet3 --> Pod6 Pod5[Pod] Pod6[Pod] end end subgraph CP[Control Plane] Store[("Store (etcd)")] -->|Configuration| Master API --> Master Scheduler --> Master Controller["Controller Manager"] --> Master end kubectl["$ kubectl"] --> API Master --> Kublet1 Master --> Kublet2 Master --> Kublet3

Deeper Knowledge on Kubernetes (k8s)

Kubernetes CLI: kubectl

The CLI interface for Kubernetes

Broader Topics Related to Kubernetes (k8s)


Packaging applications with all of their dependencies

Kubernetes (k8s) Knowledge Graph