Kubernetes (K8s)

Kubernetes is an open-source platform that automates deploying, scaling, and managing containers across many machines. It keeps applications running by restarting failed containers and balancing load.

Git & DevOps

When you have hundreds of containers, running them by hand is impossible. Kubernetes (often shortened to K8s) orchestrates them — deciding where each container runs, replacing crashed ones, and scaling up under heavy traffic.

You describe the desired state in YAML files, and Kubernetes continuously works to make reality match that description. It originated at Google and is now the industry standard for container orchestration.

Examples

Bash — kubectl is the command-line tool for talking to a Kubernetes cluster.

kubectl get pods

Output:

NAME                     READY   STATUS    RESTARTS   AGE
web-app-7d9f5c8b4-x2k1   1/1     Running   0          3m

See also

Back to the Dictionary