20 cards · Public · Shuffle

Kubernetes & Docker - Container Orchestration & Deployment

Master containerization and orchestration fundamentals with this high-yield flashcard deck covering Docker mechanics, Kubernetes cluster architecture, workload workloads, and cloud-native networking.

Cards in this deck

(20 cards)

Preview terms and definitions before starting your study session.

#1
Term
Docker vs. Kubernetes
Definition
Docker is a containerization platform used to package applications and their dependencies into lightweight, isolated containers.
Kubernetes (K8s) is a container orchestration engine that automates the deployment, scaling, load balancing, networking, and management of containerized workloads across a cluster of nodes.
#2
Term
Control Plane (Master Node) Components
Definition
The Control Plane manages the global state of the Kubernetes cluster:
  • kube-apiserver: Exposes the Kubernetes API (front end of the control plane).
  • etcd: Consistent, highly available key-value store for all cluster data.
  • kube-scheduler: Selects optimal Worker Nodes for unscheduled Pods.
  • kube-controller-manager: Runs controller loops (e.g., Node, ReplicaSet controllers).
#3
Term
Worker Node Components
Definition
Worker Nodes run application containers and report state back to the Control Plane:
  • kubelet: Primary agent that ensures containers defined in PodSpecs are running and healthy.
  • kube-proxy: Maintains network rules on nodes to allow network communication to Pods.
  • Container Runtime: Underlying engine executing containers (e.g., containerd, CRI-O).
#4
Term
Kubernetes Pod
Definition
The smallest, basic deployable object in Kubernetes. A Pod represents a single instance of a running process in your cluster and encapsulates one or more containers that share:
  • Network IP address and port space (localhost communication)
  • Storage volumes
  • Container execution options
#5
Term
Kubernetes Deployment
Definition
A declarative API object used to manage stateless applications. A Deployment manages a ReplicaSet underneath to maintain a specified count of identical Pods, handling automated rolling updates, rollbacks, and self-healing.
#6
Term
Kubernetes StatefulSet
Definition
A workload object designed for stateful applications (e.g., Databases like PostgreSQL, Kafka). Key characteristics:
  • Stable, unique network identifiers (e.g., pod-0, pod-1).
  • Ordered, graceful deployment and scaling.
  • Persistent storage binding via volumeClaimTemplates per Pod replica.
#7
Term
Kubernetes DaemonSet
Definition
Ensures that all (or a subset of) Nodes run a copy of a specific Pod. As new nodes are added to the cluster, Pods are automatically added to them.
Common Use Cases: Cluster log collection (e.g., Fluentd), metric collection (e.g., Prometheus Node Exporter), CNI network plugins.
#8
Term
Kubernetes Service Types
Definition
Services expose a set of Pods as a network service:
  • ClusterIP (Default): Exposes the Service on an internal cluster IP.
  • NodePort: Exposes the Service on each Node's IP at a static port (typically 30000-32767).
  • LoadBalancer: Provisions an external Cloud Load Balancer (e.g., AWS ELB, GCP CLB) pointing to NodePort/ClusterIP endpoints.
Showing 8 of 20 cards in this deck.
Study All Now