Progressive Delivery Home Lab
make validateOverview
Section titled “Overview”Local Kind or Minikube lab for canary releases and rollback.
What You Will Build
Section titled “What You Will Build”Architecture Diagram
Section titled “Architecture Diagram”Prerequisites
Section titled “Prerequisites”- Install or review: Kubernetes, Argo Rollouts, Progressive Delivery, Canary Deployment.
- No cloud provider credentials are required by the project metadata.
- This project can be practiced locally before you publish portfolio evidence.
- Open the safety guide before running commands that create infrastructure.
Credentials And Cost Warning
Section titled “Credentials And Cost Warning”Cost risk is low. Cloud target: no cloud provider. Cloud credentials needed: No. Always use your own account, never commit secrets, and confirm cleanup before creating paid infrastructure.
Step-By-Step Lab
Section titled “Step-By-Step Lab”Use this flow before you run commands:
- Read the cost and credential warning above.
- Review the validation, troubleshooting, cleanup, and portfolio proof sections below.
- Follow the original project guide preserved near the bottom of this page.
- Return to the validation and cleanup checks before you capture portfolio evidence.
Validation Checks
Section titled “Validation Checks”Run the project validation command before and after meaningful changes:
make validateTroubleshooting
Section titled “Troubleshooting”- Run
make validatefirst so local tooling issues are visible early. - If a command fails, check tool versions, working directory, and required environment variables.
- For Kubernetes failures, check the current context, namespace, pod events, and service endpoints.
Cleanup
Section titled “Cleanup”Cleanup is available or expected for this lab. Use the cleanup or destroy steps in the guide below, then confirm that local clusters, containers, cloud resources, buckets, state files, and CI secrets are no longer active.
Portfolio Proof
Section titled “Portfolio Proof”- Validation command output:
make validate - Screenshot or terminal proof: Kubernetes resource output plus app/GitOps screenshot
- Notes explaining what changed, what failed, and how you fixed it
- Cleanup evidence, especially for cloud or Kubernetes resources
Original Project Guide
Section titled “Original Project Guide”The original README content is preserved here for lab-specific commands and context. Headings are intentionally demoted so the page outline stays focused on the standard lab flow.
Local Kubernetes lab for learning canary releases and automated rollback with Argo Rollouts.
What You Learn
Section titled “What You Learn”- Why progressive delivery is safer than all-at-once deploys
- How canary steps work
- How service selectors route traffic during rollout
- How to pause, promote, and abort a rollout
Architecture
Section titled “Architecture”flowchart LR Student["Student changes image tag"] --> Manifest["rollouts/rollout.yaml"] Manifest --> Controller["Argo Rollouts controller"] Controller --> Canary["Canary ReplicaSet"] Controller --> Stable["Stable ReplicaSet"] Service["Kubernetes Service"] --> Canary Service --> StablePrerequisites
Section titled “Prerequisites”- Docker
- Kind for the one-command workflow, or Minikube if you prefer manual setup
kubectl- Argo Rollouts kubectl plugin, optional but recommended
One-Command Local Workflow
Section titled “One-Command Local Workflow”make validatemake upmake logsmake downmake up creates a local Kind cluster named rollout-lab, installs Argo Rollouts, and applies the sample rollout.
Manual Quick Start
Section titled “Manual Quick Start”kind create cluster --name rollout-labkubectl create namespace argo-rolloutskubectl apply -n argo-rollouts -f https://github.com/argoproj/argo-rollouts/releases/latest/download/install.yamlkubectl wait --for=condition=available --timeout=180s deployment/argo-rollouts -n argo-rolloutskubectl apply -f rollouts/kubectl argo rollouts get rollout demo-rollout -n progressive-delivery --watchChange the image tag in rollouts/rollout.yaml, apply it again, and watch the canary steps.
Validation
Section titled “Validation”make validateThis parses the namespace, service, and rollout YAML locally, so it works before a cluster or Argo Rollouts CRD exists.
Troubleshooting
Section titled “Troubleshooting”no matches for kind "Rollout": install Argo Rollouts before applying the manifest to a cluster;make validateis only a local YAML check.- Rollout never progresses: check pod readiness with
make logs, then inspect the image tag inrollouts/rollout.yaml. - Argo Rollouts plugin missing: use
kubectl get rollout -n progressive-deliveryfor a basic status view. - Kind cluster already exists: run
make down, or useCLUSTER=my-rollout-lab make up.
Cleanup
Section titled “Cleanup”make downFor Minikube users:
minikube deleteStudent Exercises
Section titled “Student Exercises”- Add an analysis template.
- Introduce a bad image tag and abort the rollout.
- Change canary weights.
- Compare this with a normal Kubernetes Deployment.
Source Files On GitHub
Section titled “Source Files On GitHub”The full learning flow stays on this page. Open GitHub only when a step asks you to inspect code, fork the lab, or download source assets.