Pod is the smallest deployable unit in Kubernetes, representing a single instance of a running process in your cluster. It encapsulates one or more containers (e.g., Docker containers), storage resources, a unique network IP, and options that govern how the containers should run.Kubernetes & Cloud Native Architecture - Operations & Deployment
Master Kubernetes container orchestration, cluster management, and declarative deployments. Dive deep into Pods, Services, Storage, and `kubectl` commands for robust cloud-native operations.
Cards in this deck
(22 cards)Preview terms and definitions before starting your study session.
ConfigMap is an API object used to store non-sensitive configuration data in key-value pairs. It allows you to decouple configuration artifacts from image content to keep containerized applications portable. ConfigMaps can be consumed by Pods as environment variables, command-line arguments, or as files in a volume.1.
Pending: The Pod has been accepted by the Kubernetes system, but one or more of the container images has not been created or configured.2.
Running: The Pod has been bound to a node, and all of the containers have been created. At least one container is still running, or is in the process of starting or restarting.3.
Succeeded: All containers in the Pod have terminated successfully, and will not restart.4.
Failed: All containers in the Pod have terminated, and at least one container has terminated in failure (e.g., non-zero exit status), and will not restart.5.
Unknown: For some reason, the state of the Pod could not be obtained.ReplicaSet ensures that a specified number of Pod replicas are running at any given time. Its primary role is to maintain the desired state of a set of Pods, automatically creating or deleting Pods as needed to match the configured replica count.Deployment provides declarative updates for Pods and ReplicaSets. It manages the creation, update, and deletion of ReplicaSets to achieve the desired state of your application. Deployments handle rolling updates, rollbacks, and scaling by orchestrating changes to ReplicaSets without direct user interaction with the ReplicaSet objects.Deployment is used for stateless applications, where Pods are interchangeable and have no unique identity or persistent state. A StatefulSet, on the other hand, is designed for stateful applications that require stable, unique network identifiers, stable persistent storage, and ordered, graceful deployment and scaling. Each Pod in a StatefulSet has a sticky identity and predictable naming.StatefulSet for applications that require:- Stable, unique network identifiers: Each Pod gets a unique, persistent hostname.
- Stable, persistent storage: Pods are mapped to specific
PersistentVolumeClaims. - Ordered, graceful deployment and scaling: Pods are created and terminated in a defined order.
- Ordered, graceful deletion: Pods are deleted in reverse ordinal order.
Service is an abstract way to expose an application running on a set of Pods as a network service. It's needed because Pods are ephemeral and can be created or destroyed, changing their IP addresses. A Service provides a stable IP address and DNS name, acting as a load balancer to distribute traffic to the healthy Pods that match its selector, ensuring continuous access to your application.Related Flashcard Sets
Explore similar study materials created by the community
HSK 1 - Basic Chinese Vocabulary, Pinyin & Character Recognition
Master foundational Mandarin Chinese with this HSK 1 flashcard deck covering essential vocabulary, Pinyin pronunciation rules, tones, and core sentence patterns.
Functional Programming - Immutability, Pure Functions & Higher-Order Functions
Unlock the power of Functional Programming! Master immutability, pure functions, and higher-order functions to write predictable, testable, and concurrent code with this comprehensive flashcard deck.
Neuroscience - Neuroanatomy & Brain Function
Master high-yield neuroanatomy and functional neuroscience concepts with this comprehensive study deck. Perfect for medical students and biology majors covering brain regions, cranial nerves, neuronal action potentials, and major pathways.
Microsoft Azure Administrator (AZ-104) - Compute, Storage & Networking
Master core AZ-104 certification concepts including Microsoft Entra ID, Azure Storage, Virtual Networks, Virtual Machines, and Azure Monitoring with this high-yield flashcard deck.