Kubernetes Examples
This section holds incremental, file-oriented examples: recommended folder layouts, YAML you can adapt, and two ways to deploy — kubectl apply and Argo CD.
Available examples
Section titled “Available examples”- Base workloads with Istio and Argo CD — Namespace, sample app (Deployment + Service), Istio Gateway and VirtualService, optional mesh policy, and an Argo CD
Applicationmanifest for GitOps. - Deploying a new service on k3s (httpbin example) — Step-by-step runbook for namespace setup, Deployment + Service apply, rollout checks, access patterns, updates, rollback, and cleanup.
- Installing Prometheus and Grafana on k3s — Helm install of
kube-prometheus-stack, verify and access UIs, troubleshooting, cleanup, and links to extend with app metrics and alerts. - HPA on k3s — CPU-based Horizontal Pod Autoscaler lab with metrics-server, load generation, and verification.
- Prometheus Adapter HPA on k3s — Custom-metric HPA using prometheus-adapter with an existing Prometheus stack.
- From Dockerfile to production on Kubernetes — Ten-phase roadmap from hardened images and cloud-native app behavior through manifests, Helm, ingress, secrets, GitOps, and autoscaling.