PersistentVolumeClaim (PVC)?PersistentVolumeClaim is a request for storage by a user. It consumes PV resources. Pods request storage by specifying a PVC in their volume definition.Master Kubernetes Workloads and Networking for the CKA exam! This high-yield flashcard deck covers essential `kubectl` commands, `PodSpec` configurations, `RBAC` security, `PersistentVolumes`, `Ingress` routing, and `etcd` backup/restore, crucial for CKA success.
Preview terms and definitions before starting your study session.
PersistentVolumeClaim (PVC)?PersistentVolumeClaim is a request for storage by a user. It consumes PV resources. Pods request storage by specifying a PVC in their volume definition.my-nginx-pod using the nginx image?kubectl run command with --restart=Never for a standalone Pod:kubectl run my-nginx-pod --image=nginx --restart=NeverPodSpec field defines the container image to use?image field within the containers array. Example:apiVersion: v1
kind: Pod
metadata:
name: my-pod
spec:
containers:
- name: my-container
image: nginx:latestPodSpec?resources field within a container definition:resources:
requests:
memory: "64Mi"
cpu: "250m"
limits:
memory: "128Mi"
cpu: "500m"LivenessProbe in a Pod.LivenessProbe checks if a container is still running and healthy. If it fails, Kubernetes restarts the container. This ensures applications don't get stuck in a broken state.my-app-deployment with 3 replicas using the my-app:v1 image?kubectl create deployment my-app-deployment --image=my-app:v1 --replicas=3PersistentVolume (PV)?PersistentVolume is an abstract storage resource in a Kubernetes cluster, provisioned by an administrator or dynamically. It represents a piece of storage (e.g., NFS, iSCSI, hostPath) that can be claimed by Pods.hostPath PersistentVolume?apiVersion: v1
kind: PersistentVolume
metadata:
name: my-hostpath-pv
spec:
capacity:
storage: 1Gi
accessModes:
- ReadWriteOnce
hostPath:
path: "/mnt/data"Explore similar study materials created by the community
Master foundational Mandarin Chinese with this HSK 1 flashcard deck covering essential vocabulary, Pinyin pronunciation rules, tones, and core sentence patterns.
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.
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.
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.