Kubernetes Basic Cheat Sheet

1 min read #kubernetes

The Mastermind

Kubernetes acts as a cunning mastermind that cleverly bends, controls, exploits, and relentlessly observes the state of its army of computing machines and the purposeful digital beings that dwell within them.

It decides how each digital being gets power, which machine supports whom, how each being cooperates, who gets powered up, who needs to take a rest forever, which resources will be exploited, who can communicate with other parties, and who stays kept silenced inside the system.

Kubernetes Kinds

Screenshot 2026-01-22 190329.png

Beast Pirates

In the One Piece series, there is an antagonist group of pirates called the Beasts Pirates, whose leader, Kaido, has thousands of different kinds of "beasts" under his wing that act for different purposes, from exploiting the country's resources, finding manpower, completing missions, and guarding the territory, each with different authority and control capabilities. Kubernetes objects act like that: they control different levels of capabilities, from the most critical ones to the most optional ones.

Some of the famous Kinds:

👑Node

👑Namespace

👑Pod

🃏Deployment

🃏StatefulSet

🃏DaemonSet

♥️Service

♠️Persistent Volume Claim

♦️Secret

♣️NetworkPolicy

♥️ConfigMap

YAML: Controlling the Kinds

Let's delve into the One Piece universe a bit more. There are many kinds of Devil Fruits that grant unique abilities to their owners, the Yami-Yami fruit controlling darkness, the Mera-Mera fruit controlling fire, the Gura-Gura fruit controlling vibrations, and even the Kibi-Kibi fruit which actually controls beasts. Let us meet the YAML-YAML fruit, a human-friendly text format that acts as an instruction to controls all Kubernetes Kinds. These YAML files act like instructions of what kind of state you want to have for each of your digital underlings in your Kubernetes nation.

The Kubectl

kubectl get

kubectl exec

kubectl log

kubectl describe

kubectl apply

kubectl rollout