Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.53 KB

README.md

File metadata and controls

52 lines (36 loc) · 1.53 KB

Delivering the example with a canary release using ArgoCD

Install Argo Rollout

You can install Argo Rollouts to your cluster by following the documentation.

For your convenience, the installation commands are given below :

kubectl create namespace argo-rollouts
kubectl apply -n argo-rollouts -f https://raw.githubusercontent.com/argoproj/argo-rollouts/stable/manifests/install.yaml

You can also install the Argo Rollouts kubectl plugin :

curl -LO https://github.com/argoproj/argo-rollouts/releases/latest/download/kubectl-argo-rollouts-linux-amd64
sudo chmod +x ./kubectl-argo-rollouts-linux-amd64
sudo mv ./kubectl-argo-rollouts-linux-amd64 /usr/local/bin/kubectl-argo-rollouts
kubectl argo rollouts version

Create a project

kubectl create ns demospace-argo
helm install hs-rollout . -n demospace-argo

Find our current rollout with the command line

kubectl argo rollouts list rollouts -n demospace-argo

Watch the current rollout on the command line

kubectl argo rollouts get rollout podtatoserver-demo  -w -n demospace-argo

Update the release in the values file

helm upgrade hs-rollout . -n demospace-argo --set image.tag=v0.1.2

Manually promote the rollout after the first canary steps

kubectl argo rollouts promote podtatoserver-demo -n demospace-argo