diff --git a/argoRollouts/README.md b/argoRollouts/README.md index 87c65f6..d9289f0 100644 --- a/argoRollouts/README.md +++ b/argoRollouts/README.md @@ -1,4 +1,4 @@ -# ArgoRollout using Release, EKS and Linkerd +# ArgoRollout using Release and EKS Use the templates and manifests to perform bluegreen and canary deployments. @@ -7,9 +7,8 @@ Use the templates and manifests to perform bluegreen and canary deployments. 1. Kubernetes cluster (EKS Workshop - https://www.eksworkshop.com/) 2. AWS Load Balancer Controller (https://www.eksworkshop.com/beginner/180_fargate/prerequisites-for-alb/) -3. Linkerd (https://linkerd.io/2.11/getting-started/) -4. Argo rollouts setup in the EKS cluster(https://argoproj.github.io/argo-rollouts/) and argo rollouts kubectl plugin installed in a Unix host. -5. Digital.ai Release with xlr-argo-rollouts-integration and xlr-kubernetes-integration plugins installed +3. Argo rollouts setup in the EKS cluster(https://argoproj.github.io/argo-rollouts/) and argo rollouts kubectl plugin installed in a Unix host. +4. Digital.ai Release with xlr-argo-rollouts-integration and xlr-kubernetes-integration plugins installed ## Initial Canary Rollout Setup in K8s @@ -25,8 +24,6 @@ Alternatively follow the steps to set up the deployment
→ creates a rollout with canary strategy, replica set of 5 pods with image guestbook:blue 1. `kubectl apply -f https://raw.githubusercontent.com/xebialabs-community/howto/master/argoRollouts/manifests/redis.yaml -n guestbook-canary`
→ creates a redis pod and service -1. `linkerd viz dashboard &` -
→ dashboard shows the pods and trafic split between the two services, canary and stable under the guestbook-canary namespace 1. `kubectl get service guestbook-stable -n guestbook-canary`
→ to view the application in browser :8080/index.html @@ -43,7 +40,6 @@ Alternatively follow the steps to set up the deployment 1. kubectl argo rollouts set image guestbook-canary-rollout guestbook-container=xldevdocker/guestbook:green -n guestbook-canary
→ updates 20% of pods in guestbook-canary-rollout with new image -1. check the linkerd dashboard for trafic split to reflect 20(weight of first step) in the canary service 1. kubectl argo rollouts promote guestbook-canary-rollout -n guestbook-canary
→ executes the rest of the update steps 1. kubectl argo rollouts promote guestbook-canary-rollout -n guestbook-canary @@ -79,8 +75,6 @@ Alternatively follow the steps to setup the deployment
→ creates a rollout with bluegreen strategy, replica set of 2 pods with image guestbook:blue 1. `kubectl apply -f https://raw.githubusercontent.com/xebialabs-community/howto/master/argoRollouts/manifests/redis.yaml -n guestbook-bluegreen`
→ creates a redis pod and service -1. `linkerd viz dashboard &` -
→ dashboard shows the pods created 1. `kubectl get service guestbook-bluegreen-active -n guestbook-bluegreen`
→ to view the application in browser :8080/index.html diff --git a/argoRollouts/manifests/guestbook-bluegreen-rollout.yaml b/argoRollouts/manifests/guestbook-bluegreen-rollout.yaml index 51a7a78..8a1d0cb 100644 --- a/argoRollouts/manifests/guestbook-bluegreen-rollout.yaml +++ b/argoRollouts/manifests/guestbook-bluegreen-rollout.yaml @@ -15,8 +15,6 @@ spec: app: guestbook-bluegreen template: metadata: - annotations: - linkerd.io/inject: enabled labels: app: guestbook-bluegreen spec: diff --git a/argoRollouts/manifests/guestbook-canary-rollout.yaml b/argoRollouts/manifests/guestbook-canary-rollout.yaml index 3874d97..11e1a93 100644 --- a/argoRollouts/manifests/guestbook-canary-rollout.yaml +++ b/argoRollouts/manifests/guestbook-canary-rollout.yaml @@ -8,8 +8,6 @@ spec: canary: canaryService: guestbook-canary stableService: guestbook-stable - trafficRouting: - smi: {} steps: - setWeight: 20 - pause: {} @@ -25,8 +23,6 @@ spec: app: guestbook-canary template: metadata: - annotations: - linkerd.io/inject: enabled labels: app: guestbook-canary spec: diff --git a/argoRollouts/manifests/redis.yaml b/argoRollouts/manifests/redis.yaml index 5e11ddb..5f54a4c 100644 --- a/argoRollouts/manifests/redis.yaml +++ b/argoRollouts/manifests/redis.yaml @@ -23,8 +23,6 @@ spec: app: redis template: metadata: - annotations: - linkerd.io/inject: enabled labels: app: redis selector: redis diff --git a/argoRollouts/templates/Argo_Rollouts_Initial_BlueGreen_Rollout_Setup.xlr b/argoRollouts/templates/Argo_Rollouts_Initial_BlueGreen_Rollout_Setup.xlr index 9afd38b..de61076 100644 Binary files a/argoRollouts/templates/Argo_Rollouts_Initial_BlueGreen_Rollout_Setup.xlr and b/argoRollouts/templates/Argo_Rollouts_Initial_BlueGreen_Rollout_Setup.xlr differ diff --git a/argoRollouts/templates/Argo_Rollouts_Initial_Canary_Rollout_Setup.xlr b/argoRollouts/templates/Argo_Rollouts_Initial_Canary_Rollout_Setup.xlr index a0e546b..8107c2f 100644 Binary files a/argoRollouts/templates/Argo_Rollouts_Initial_Canary_Rollout_Setup.xlr and b/argoRollouts/templates/Argo_Rollouts_Initial_Canary_Rollout_Setup.xlr differ