Basic Theory
Basic Theory
Covers the foundational concepts for the advanced course, from how kubectl works to resource structure, cluster components, workloads (Pet vs Cattle, StatefulSet), package management (Helm), and API extension (CRD).
kubectl is a command-line tool for interacting with a Kubernetes cluster.
Kubernetes combines many types of resource objects to build a cluster and run applications.
A Kubernetes cluster consists of a control plane that handles management and worker nodes where the actual workloads run.
Kubernetes has a philosophy of clearly separating core components from add-ons.
Kubernetes’ add-on approach provides flexibility, but it also introduces problems and complexity.
CSI is a key standard specification that lets Kubernetes extend flexibly without being locked into a specific storage vendor.
Helm is a package manager for defining, installing, and upgrading Kubernetes applications.
Explore the Pet and Cattle analogy to understand the core design philosophy of cloud-native environments and Kubernetes.
Kubernetes follows the Cattle philosophy by default, but StatefulSet is an exception with characteristics closer to a Pet.
Compare StatefulSet and ReplicaSet, two core resources for managing groups of Pods in Kubernetes.
Starting from the problems with Kubernetes add-on component setups, see why package management tools like Helm became necessary.
Learn the key reason why a Headless Service, rather than a regular Service, is essential when running a StatefulSet.
How to extend the Kubernetes API to create new, user-defined resource types.