Kubernetes, EKS, GitOps & releases
Kubernetes in depth
Senior DevOps roles expect you to know Kubernetes inside and out (and if you hold the CKA, interviewers will assume you do). Interviews probe the internals: how a request flows through the API server, what etcd and Raft guarantee, how the scheduler decides, what the kubelet does on a node, how Services and DNS really route traffic, how storage binds, and how RBAC and admission control secure the cluster. This topic is the deep reference; the separate Kubernetes troubleshooting and EKS topics cover day-two operations and AWS specifics.
After this topic you can
- Explain how the Kubernetes control plane and nodes work together
- Use Deployments, Services, ConfigMaps and probes correctly
- Reason about scheduling, networking and storage
Lessons
-
1The Kubernetes model: declarative state and control loops
- Objects
- Reconciliation
- Labels, selectors and annotations
- Namespaces
- Ownership, garbage collection and finalizers
-
2Control plane components in depth
- kube-apiserver
- etcd
- kube-scheduler
- kube-controller-manager
- cloud-controller-manager
- High availability
-
3Node components and the pod lifecycle
- kubelet
- Container runtime
- kube-proxy
- CNI plugin
- What happens when you create a Deployment
- Pod phases, conditions and container states
- Init containers and sidecars
- Pod termination
-
4Workload controllers
- Deployment and ReplicaSet
- StatefulSet
- DaemonSet
- Job and CronJob
- Autoscaling objects
-
5Services, networking and DNS
- Service types
- How a ClusterIP connection flows (iptables mode)
- DNS with CoreDNS
- Ingress and Gateway API
- NetworkPolicy
-
6Storage
- Volume types
- PV, PVC and StorageClass
-
7Configuration, secrets and the downward API
- ConfigMaps and Secrets
- Downward API
-
8Scheduling and resource management
- Requests, limits and QoS
- Node pressure and eviction
- Steering placement
- Guardrails per namespace
-
9Security: authentication, RBAC and admission
- Authentication
- RBAC
- Admission control and Pod Security
- Pod securityContext
- Audit logging
-
10Extending Kubernetes and operating clusters
- CRDs and operators
- Upgrades and version skew
- Backup and disaster recovery
- Certificates
-
11Interview questions and model answers
- "What happens when you run kubectl apply -f deployment.yaml?"
- "Why does etcd need an odd number of members, and what happens if it loses quorum?"
- "How does a Service actually route traffic?"
- "Explain requests vs limits and QoS classes."
- "StatefulSet vs Deployment?"
- "A pod is Pending. How do you reason about it?"
- "How do NetworkPolicies work?"
- "How do you secure a cluster?"
- "What are operators and CRDs?"