⏪ Recap & Recording: Expert Session -- Kubernetes Configuration, Observability, and Debugging
For those who missed the live session or want to review the material, the recording of the Expert Session on Kubernetes Configuration, Observability, and Debugging is now available.
🎙️ Speaker: Iliyan Petkov; Co-founder of DojoBits, CNCF Kube Trainer, and Kubestronaut. Passionate technologist recognized for work with leading IT companies, training, and community initiatives. Co-founder alongside Valentin Hristev (our previous Expert Session speaker).
Important Resources Shared In This Post:
Session Recording: Watch Recording
Certification Phase Resources Document: View Document
Mock Assessment Platform: Quizio
📋 Topics Covered
Configuration Management
Everything must be defined as code and version controlled (Git). Kubernetes uses ConfigMaps (non-sensitive) and Secrets (sensitive) to manage application configuration.
The Downward API projects runtime information (node name, Pod name) into containers as environment variables.
Best practice: make ConfigMaps immutable. Set volume mounts to readOnly. Never store Secrets in version control.
Observability and Golden Signals
The golden signals: logs (what happened), metrics (quantifiable data), traces (interactions across the system).
Prometheus is the de facto standard for metrics. Grafana visualizes the data. OpenTelemetry provides automated instrumentation.
Recommended stack: Loki (logs), Grafana (visualization), Tempo (traces), Mimir (metrics).
Troubleshooting and Debugging
Troubleshooting flow: check state → get Kubernetes events → check logs → examine configuration → validate connectivity.
Key commands: kubectl get pods, kubectl describe, kubectl logs, kubectl exec, kubectl port-forward, kubectl debug.
kubectl debug creates a sidecar container linked to the main application's namespaces; useful for troubleshooting secure containers that lack a shell.
Common failure patterns: CrashLoopBackOff, ImagePullBackOff, Pods running but not ready, missing ConfigMaps/Secrets.
💡 Session Highlights
Pod Lifecycle: Pods are ephemeral, single-use entities. If one container fails, the entire Pod must be replaced. Use volumes to persist data outside the Pod.
Probes: Start Probe (initialization), Readiness Probe (ready for connections), Liveness Probe (still functional; if failed, Kubernetes kills and clones a new instance).
GitOps with Argo CD: Define infrastructure as code in Git. Argo CD provides a single pane of glass to assess health and sync status of all resources.
Helm: Central tool for configuration management. Use version-controlled value files. Recommended over plain kubectl apply with YAML.
Secret Management: Industry standard is HashiCorp Vault (or OpenBao). Define secrets externally, let the operator pull and populate them out of band. Use GitLeaks hooks as a fallback.
Container Image Security: Never pull images directly from the internet. Use an internal registry like Harbor to proxy, cache, and scan. Use multiple scanners (Trivy, Clair) for defense in depth.
Monitoring Stack: Fluent Bit/Fluentd for log collection, OpenTelemetry for instrumentation, service meshes (Istio, Cilium) for built-in observability via Hubble.
🔑 Debugging Guidelines
Do not change multiple elements simultaneously; isolate fixes clearly.
Do not rely solely on logs for historical context.
Do not assume infrastructure issues; verify with events and probes.
Treat observability as a fundamental part of system design, not an afterthought.
Observability reveals what is happening. Debugging connects the dots.
🏠 Bonus: Home Lab Inspiration
Iliyan shared their home lab setup ("Creature") running Proxmox, TrueNAS (NVMe over fabric), OpenSense, Traefik, Gitea, Harbor, Authentik (OIDC), Frigate (AI camera), Vaultwarden, and automated patching with Renovate + AI-powered PR analysis. All on low-cost mini PCs with signed certificates.
🎓 Certification Advice
The CKA/CKS/CKAD curriculum gives engineers a broad understanding of the system; design, deployment, running, securing, and troubleshooting. Iliyan highly recommends pursuing certifications and watching for Linux Foundation discount campaigns.