⬅️ Back to Kubernetes overview
This is a list of exercises to practice the gained knowledge
Goals
- Implement blue/green deployment using Kubernetes native tools only
Inputs
- What is a blue/green deployment: https://martinfowler.com/bliki/BlueGreenDeployment.html
- Use two
Deployment
s and a singleService
with an appropriate label selector to route eitherDeployment
. - Use the paulbouwer/hello-kubernetes and the
MESSAGE
env to see which deployment is active. Or alternatively the locally builtwebapp-color:0.1
.
Topics covered
- Services
- Deployment
- Pods
Goals
- Implement canary deployment using Kubernetes native tools only
Inputs
- What is a canary deployment: https://martinfowler.com/bliki/CanaryRelease.html
- Use two
Deployment
s and a singleService
with an appropriate label selector to route certain ratios of traffic to eitherDeployment
. - Use the paulbouwer/hello-kubernetes image and the
MESSAGE
env to see which deployment is active. Or alternatively the locally builtwebapp-color:0.1
.
Topics covered
- Services
- Deployment
- Pods
Goals
- Complete the
Game of Pods
Inputs
- All you need to know: https://kodekloud.com/courses/game-of-pods/
Topics covered
- A lot
Goals
- Running docker registry on the Kubernetes cluster
- Push a locally built docker image to the custom registry
Inputs
- Use the registry:2 image
Goals
- Learn about complex deployments
https://github.com/dotnet-architecture/eShopOnContainers/ https://github.com/dotnet-architecture/eShopOnContainers/tree/dev/deploy/k8s/helm