Cloud & DevOps
Kubernetes
Pods, deployments, services, ingress and autoscaling – running containers in production.
Article
A cluster that works in a demo and a cluster you can trust with Friday-night sales are separated by a dozen decisions. We package the dumpling-shop API as a Helm chart, isolate teams with namespaces, quotas and RBAC, lock down traffic with network policies, protect availability with a disruption budget, scale pods (HPA, KEDA) and nodes, measure what users feel, and deploy through GitOps with Argo CD. Finally, a checklist and ways to lower the bill.
Related articles
- Kubernetes basics – Pods, Deployments, Services, Gateway API, ConfigMaps and Secrets, probes, resources, HPA and rolling updates
We run the dumpling-shop application (a NestJS API, an nginx frontend, PostgreSQL and Redis) on Kubernetes and meet the key objects along the way: Pod, Deployment, StatefulSet, Service, Gateway API…
Around the topic
- All About Cedar, an Open Source Solution for Fine-Tuning Kubernetes Authorization podcast · apple-podcasts · The New Stack Podcast
- Kubernetes Patterns book · openlibrary · Bilgin Ibryam, Roland Huß
- stefanprodan/podinfo repo · github · stefanprodan
- Autoscaling Guidance article · web · Microsoft Azure Architecture Center
- Mastering Your Microservices With Observability video · youtube · Modern Software Engineering
- Fairness in multi-tenant systems | AWS Builder Center article · web · Amazon Builders' Library
- Kubernetes Explained in 6 Minutes | k8s Architecture video · youtube · ByteByteGo
- Kelsey Hightower on Extending Kubernetes, Event-Driven Architecture, and Learning podcast · apple-podcasts · The InfoQ Podcast
- Expose Legacy Java Apps to AI Agents with the Kubernetes Sidecar Pattern podcast · apple-podcasts · The Main Thread: Java, AI & Software Architecture
- Kubernetes-native Java microservices with John Clingan podcast · apple-podcasts · Semaphore Uncut
- Learning to operate Kubernetes reliably article · web · stripe.com
- Chaos Engineering for Microservices: Resilience Testing with Chaos Toolkit, Chaos Monkey, Kubernetes, and Istio article · devto · Prabhu Chinnasamy
- K8s Service Meshes: The Bill Comes Due article · web · matduggan.com
- Microsoft launches new open-source projects around Kubernetes and microservices article · web · Frederic Lardinois
- Kubernetes and MLOps for Scalable and Reproducible Generative AI - Annie Talvasto - NDC London 2024 video · youtube · NDC Conferences
- Cloud Native DevOps with Kubernetes book · openlibrary · John Arundel, Justin Domingus
- Bootstrapping Microservices with Docker, Kubernetes, and Terraform book · openlibrary · Ashley Davis
- Kubernetes Cookbook: Building Cloud Native Applications book · openlibrary · Sébastien Goasguen, Michael Hausenblas, Sameer Naik