24 cards · Public · Shuffle

Kubernetes - Container Orchestration, Pods & Deployments

Master Kubernetes, the industry-standard platform for automating containerized application deployment, scaling, and management. This deck covers core concepts, essential `kubectl` commands, and YAML definitions crucial for modern DevOps and cloud-native development.

Cards in this deck

(24 cards)

Preview terms and definitions before starting your study session.

#1
Term
What is Kubernetes?
Definition
Kubernetes (K8s) is an open-source container orchestration platform that automates the deployment, scaling, and management of containerized applications. It groups containers that make up an application into logical units for easy management and discovery.
#2
Term
What is Container Orchestration?
Definition
Container orchestration is the automated management of containerized applications, including tasks like deployment, scaling, networking, load balancing, and availability. Kubernetes is the leading tool for this.
#3
Term
What is kubectl?
Definition
kubectl is the command-line tool for running commands against Kubernetes clusters. It allows you to deploy applications, inspect and manage cluster resources, and view logs.
#4
Term
What is a Pod in Kubernetes?
Definition
A Pod is the smallest deployable unit in Kubernetes. It represents a single instance of a running process in your cluster. A Pod typically contains one or more containers (e.g., Docker containers) that share storage, network, and a specification for how to run them.
#5
Term
Why do Pods exist instead of just running containers directly?
Definition
Pods provide a higher level of abstraction than individual containers. They enable co-located containers to share resources (network, storage) and communicate easily. Pods also provide a stable environment for containers, allowing Kubernetes to manage their lifecycle, health checks, and restart policies.
#6
Term
Provide a basic YAML structure for a Kubernetes Pod.
Definition
yaml10 lines
apiVersion: v1
kind: Pod
metadata:
  name: my-nginx-pod
spec:
  containers:
  - name: nginx
    image: nginx:latest
    ports:
    - containerPort: 80
#7
Term
What is a Deployment in Kubernetes?
Definition
A Deployment is a higher-level abstraction that manages the desired state for a set of identical Pods. It ensures that a specified number of Pod replicas are running at all times and provides declarative updates for Pods and ReplicaSets.
#8
Term
How does a Deployment manage Pods?
Definition
A Deployment uses a ReplicaSet to manage its Pods. When you create a Deployment, it creates a ReplicaSet which then creates the specified number of Pods. When you update a Deployment, it creates a new ReplicaSet with the new configuration, gradually scales down the old ReplicaSet, and scales up the new one, ensuring zero downtime.
Showing 8 of 24 cards in this deck.
Study All Now