๐ŸŽ“ A1Learner
๐Ÿ”
0 of 51 lessons completed

Kubernetes: What It Is

Kubernetes is a system that runs containers across a group of machines. It decides where each container runs and keeps it running. This course teaches kubectl, minikube, pods, Deployments and the control plane as it goes.

A cluster acts like one computer

Three machines join one cluster. Kubernetes sees them as a single pool of power.

kubectl get nodes

Kubernetes places each container

You state how many copies you want. Kubernetes picks a machine for each copy.

kubectl get pods

Kubernetes watches and repairs

A container stops. Kubernetes starts a new copy without a human command.

kubectl get pods

Example

kubectl get nodes

Key points

  • Kubernetes: an open source system for running containers across many machines.
  • Container: a small package that holds an app and everything it needs to run.
  • Cluster: a group of machines that Kubernetes treats as one computer.
  • Node: one machine inside a cluster.
  • Use Kubernetes to run an app on many machines without managing each machine by hand.

In this example, the command asks Kubernetes to list the machines in the cluster. The output shows one node. Its status is Ready, so it can run containers. It runs Kubernetes version 1.37.1.

Note

Kubernetes is often shortened to K8s because eight letters sit between the K and the s.

Try it Yourself

Edit the code, then press Run.

Running is simulated ยท Rust Playground

Exercise

What is Kubernetes?