Skip to content

Kubernetes Orchestration

Master Kubernetes Orchestration with 50 free flashcards. Study using spaced repetition and focus mode for effective learning in Programming.

🎓 50 cards ⏱️ ~25 min Advanced
Study Full Deck →
Share: 𝕏 Twitter LinkedIn WhatsApp

🎯 What You'll Learn

Preview Questions

12 shown

What is a Pod in Kubernetes?

Show ▼

A Pod is the smallest deployable unit in Kubernetes. It represents a single instance of a running process and can contain one or more containers that share:The same network namespace (IP address and ports)Storage volumesA common lifecycle

Why would you run multiple containers in a single Pod?

Show ▼

Multiple containers in a Pod share the same network and storage, making them ideal for tightly coupled processes. Common patterns include:Sidecar – adds functionality (e.g., logging agent)Ambassador – proxies network trafficAdapter – transforms output for external consumers

What is an init container?

Show ▼

An init container runs before the main application containers start. It runs to completion and must succeed before the next init container (or main container) starts. Use cases include:Pre-populating shared volumes with dataWaiting for a dependent service to become availableRunning database migrations

What is the sidecar pattern in Kubernetes?

Show ▼

The sidecar pattern places a helper container alongside the main application container within the same Pod. The sidecar extends or enhances the main container's functionality. Examples:Log shipping (e.g., Fluentd sidecar)Service mesh proxy (e.g., Envoy in Istio)Configuration reloading

What is a Kubernetes Service?

Show ▼

A Service is an abstraction that defines a logical set of Pods and a policy to access them. It provides:A stable IP address and DNS nameLoad balancing across matching PodsDecoupling of consumers from individual Pod IPsServices use label selectors to target Pods.

What is a ClusterIP Service?

Show ▼

ClusterIP is the default Service type. It exposes the Service on an internal IP accessible only within the cluster. Use it for:Internal microservice-to-microservice communicationBackend services not exposed externallyExample: spec.type: ClusterIP

What is a NodePort Service?

Show ▼

A NodePort Service exposes the Service on a static port (range 30000–32767) on every node's IP. External traffic can reach the Service via <NodeIP>:<NodePort>. It automatically creates a ClusterIP Service that the NodePort routes to.

What is a LoadBalancer Service?

Show ▼

A LoadBalancer Service provisions an external load balancer from the cloud provider (AWS ELB, GCP LB, etc.). It automatically creates NodePort and ClusterIP Services. Traffic flows: External LB → NodePort → ClusterIP → Pod. Best for production workloads needing external access.

What is an ExternalName Service?

Show ▼

An ExternalName Service maps a Service to an external DNS name using a CNAME record. It does not use selectors or define endpoints. Example: spec.externalName: my.database.example.com. Useful for referencing external services with a cluster-internal DNS alias.

What is a Deployment in Kubernetes?

Show ▼

A Deployment manages a set of identical Pods via a ReplicaSet. It provides:Declarative updates – describe the desired stateRolling updates – zero-downtime deploymentsRollback – revert to previous revisionsScaling – adjust replica count

How do rolling updates work in a Deployment?

Show ▼

During a rolling update, Kubernetes incrementally replaces old Pods with new ones. Key parameters:maxSurge – max extra Pods above desired count (default 25%)maxUnavailable – max Pods that can be unavailable (default 25%)This ensures the application stays available throughout the update.

How do you rollback a Deployment?

Show ▼

Use kubectl rollout undo deployment/<name> to revert to the previous revision. To rollback to a specific revision: kubectl rollout undo deployment/<name> --to-revision=2. View revision history with kubectl rollout history deployment/<name>.

🎓 Start studying Kubernetes Orchestration

🎮 Study Modes Available

🔄

Flashcards

Flip to reveal

🧠

Focus Mode

Spaced repetition

Multiple Choice

Test your knowledge

⌨️

Type Answer

Active recall

📚

Learn Mode

Multi-round mastery

🎯

Match Game

Memory challenge

Related Topics in Programming

📖 Learning Resources