Module 1 › Objects & Workloads › Flashcards
Flashcards · optional
Flashcards: Objects & Workloads
0/16 known
2. Objects & WorkloadsPod
Click or press Space to flip PodOne or more containers scheduled together on one node, sharing a network namespace (one IP) and volumes.
Card 1 of 16
- Pod
- One or more containers scheduled together on one node, sharing a network namespace (one IP) and volumes.
- Init container
- A container that runs to completion before the app containers start; init containers run one at a time in order.
- Native sidecar
- An init container with restartPolicy: Always; it starts before and keeps running alongside the main containers.
- restartPolicy
- Pod-level setting (Always, OnFailure, Never) that tells the kubelet when to restart exited containers.
- Label selector
- A query on labels (equality- or set-based) used by controllers, Services and kubectl -l to pick objects.
- ReplicaSet
- Controller that keeps a specified number of identical Pods running; normally managed by a Deployment.
- Deployment
- Manages ReplicaSets to provide declarative updates, rolling updates and rollbacks for stateless Pods.
- maxSurge / maxUnavailable
- RollingUpdate parameters: how many extra Pods may be created, and how many may be unavailable, during an update (default 25% each).
- StatefulSet
- Workload controller giving each Pod a stable ordinal name, stable DNS via a headless Service and its own PVC.
- Headless Service
- A Service with clusterIP: None; DNS returns individual Pod IPs instead of a virtual IP.
- DaemonSet
- Ensures a copy of a Pod runs on all (or selected) nodes, adding Pods as nodes join.
- Job
- Runs Pods until a specified number complete successfully; retries failures up to backoffLimit.
- CronJob
- Creates Jobs on a repeating schedule written in cron syntax.
- ConfigMap
- Object holding non-confidential key/value configuration, consumed as env vars, command args or files.
- Secret
- Object holding sensitive data, base64-encoded; mounted via tmpfs or injected as env vars.
- QoS class
- Guaranteed, Burstable or BestEffort; derived from requests/limits and used to rank Pods for eviction.