20 cards · Public · Shuffle

Kubernetes Orchestration - Pods, Deployments, Services & Ingress

Master Kubernetes cluster architecture, workload objects, traffic routing, and imperative debugging tools with this comprehensive high-yield flashcard deck.

Cards in this deck

(20 cards)

Preview terms and definitions before starting your study session.

#1
Term
What is etcd and why is it critical to a Kubernetes cluster?
Definition
etcd is a strongly consistent, distributed key-value store that serves as Kubernetes' sole source of truth. It stores all cluster state, resource specifications, and runtime metadata. If etcd loses data without a backup, the cluster state is lost.
#2
Term
How does the kube-scheduler select a node for a newly created Pod?
Definition
The kube-scheduler continuously monitors unassigned Pods and evaluates nodes using a two-step process:
1. Filtering (Predicates): Excludes nodes that fail resource requests, taints/tolerations, or affinity rules.
2. Scoring (Priorities): Ranks remaining nodes to select the optimal node for Pod execution.
#3
Term
What is the primary role of the kube-apiserver in the Control Plane?
Definition
The kube-apiserver serves as the front door and central management hub for the Kubernetes control plane. It exposes the REST API, validates and processes object specifications (Pods, Services, Deployments), and writes state data to etcd.
#4
Term
What is the function of the kube-controller-manager?
Definition
The kube-controller-manager runs continuous control loops that drive the cluster from its current state toward the desired state. Key controllers include the Node Controller, ReplicaSet Controller, and Endpoints Controller.
#5
Term
What are the primary Pod lifecycle phases?
Definition
  • Pending: Accepted by cluster, but images/containers are downloading or unscheduled.
  • Running: Bound to a node; all containers created, and at least one is actively running/starting.
  • Succeeded: All containers terminated successfully (exit code 0) and will not restart.
  • Failed: All containers terminated, but at least one exited with a non-zero code.
  • Unknown: Pod status cannot be retrieved (typically due to node communication failure).
#6
Term
What are Init Containers and when are they executed?
Definition
Init Containers are specialized containers that run sequentially to completion before app containers start in a Pod. They are typically used for setup tasks like running database migrations, fetching secrets, or waiting for external dependencies to become available.
#7
Term
What is the relationship between a Deployment and a ReplicaSet?
Definition
A Deployment is a higher-level controller that manages declarative updates for application Pods. It automatically manages underlying ReplicaSet objects, which in turn scale and maintain the exact target count of identical running Pod instances.
#8
Term
Compare RollingUpdate and Recreate deployment strategies.
Definition
  • RollingUpdate (default): Gradually replaces old Pods with new ones, ensuring zero-downtime updates by maintaining minimum availability during deployment.
  • Recreate: Terminates all running Pods simultaneously before launching new ones. Causes brief downtime but avoids running mixed software versions.
Showing 8 of 20 cards in this deck.
Study All Now