Skip to content
Theory · Why Kubernetes · lesson 5 of 7

kubectl: get, describe, logs, apply

A company's cluster runs dozens of apps of different teams, each with several Pods. Shown as one list, the Pod you need would be lost in it. So Kubernetes divides a cluster into separate parts, and kubectl looks into one of them at a time. This lesson covers how these parts work and the four commands people use to look around a cluster every day.

In this lesson

  • Namespaces
  • What a namespace separates and what it doesn't
  • The -n flag
  • get: a list
  • describe: the details
  • logs: what the container writes
  • Common mistake
  • Key points