Kubernetes - Container Orchestration & Microservices
Master Kubernetes fundamentals with this high-yield flashcard deck, covering essential concepts like Pods, Deployments, Services, and advanced orchestration patterns. Accelerate your understanding of modern microservices architectures and `kubectl` operations.
Cards in this deck
(25 cards)Preview terms and definitions before starting your study session.
apiVersion: v1
kind: Pod
metadata:
name: my-nginx-pod
spec:
containers:
- name: nginx
image: nginx:latest
ports:
- containerPort: 80apiVersion: apps/v1
kind: ReplicaSet
metadata:
name: my-app-replicaset
spec:
replicas: 3
selector:
matchLabels:
app: my-app
template:
metadata:
labels:
app: my-app
spec:
containers:
- name: my-container
image: my-image:latestapiVersion: apps/v1
kind: Deployment
metadata:
name: my-app-deployment
spec:
replicas: 3
selector:
matchLabels:
app: my-app
template:
metadata:
labels:
app: my-app
spec:
containers:
- name: my-container
image: my-image:v1.0
ports:
- containerPort: 80ClusterIP Service type.apiVersion: v1
kind: Service
metadata:
name: my-internal-service
spec:
selector:
app: my-app
ports:
- protocol: TCP
port: 80
targetPort: 8080
type: ClusterIPNodePort Service type.NodePort). A ClusterIP Service is automatically created, and the NodePort routes to it. This makes the Service accessible from outside the cluster using <NodeIP>:<NodePort>. Useful for development or when an external load balancer isn't available.apiVersion: v1
kind: Service
metadata:
name: my-nodeport-service
spec:
selector:
app: my-app
ports:
- protocol: TCP
port: 80
targetPort: 8080
nodePort: 30000 # Optional, Kubernetes assigns if omitted
type: NodePortLoadBalancer Service type.apiVersion: v1
kind: Service
metadata:
name: my-public-service
spec:
selector:
app: my-app
ports:
- protocol: TCP
port: 80
targetPort: 8080
type: LoadBalancerRelated 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.