Skip to content

Commit

Permalink
update steps for clarity
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Wilkerson <mwilkerson@hashicorp.com>
  • Loading branch information
wilkermichael committed Feb 7, 2024
1 parent eaa72d2 commit 06742ff
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions testing/README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,18 @@ This is for building and testing argo rollout integrations with Consul. For simp
# Verify v1 to v2 rollout
1. Run `make setup` to setup the system with the static-server/client, consul and argo.
- Everything is installed to the `default` namespace except for Argo gets installed in the `argo` namespace.
2. Run `make check-service-splitter` and `make check-service-resolver`
- service-splitter shows 100% of traffic directed to stable
- service-resolver only has a stable filter (`Service.Meta.version=1`)
3. Run `make rollout-watch` to watch the deployments
4. Run `make splitting-watch` to witness the traffic splitting between deployments
2. Run `make check-service-splitter` and `make check-service-resolver`, we will run these scripts periodically throughout the testing scenarios
- service-splitter: shows 100% of traffic directed to stable
- service-resolver: only has a stable filter (`Service.Meta.version=1`)
3. Open a new window and run `make rollout-watch` to watch the deployments. This will run continuously throughout the test.
4. Open a new window and run `make splitting-watch` to witness the traffic splitting between deployments. This will run continuously throughout the test.
- You should see 100% of traffic directed to v1
5. Run `make deploy-canary-v2` to deploy a canary rollout.
5. Run `make deploy-canary-v2` to deploy a canary rollout.
- splitting-watch: You should see traffic begin directing to V2 but most of the traffic is still directed to V1
- rollout-watch: You should see the rollout now includes a canary deployment for v2
- service-splitter: shows 80% of traffic directed to stable and 20% directed to canary
- service-resolver: includes a canary filter (`Service.Meta.version=2`)
6. Run `make promote` to promote the canary deployment and watch it succeed.
6. Run `make promote` to promote the canary deployment and watch it succeed.
- splitting-watch: You should see the traffic slowly shift to V2 until all traffic is directed to V2 and none to V1
- rollout-watch: You should see more v2 deployments until there are 5 v1 and 5 v2 deployments. After some time, you should see the v1 deployments scale down to 0
- service-splitter: slowly changes the percentages until canary is getting 100% of traffic. Finally, when finished shows 100% of traffic directed to stable
Expand All @@ -48,6 +48,4 @@ This is for building and testing argo rollout integrations with Consul. For simp
- rollout-watch: You should see the rollout now includes a canary deployment for v1
3. Run `make promote` to promote the canary deployment and watch it succeed.
- splitting-watch: You should see the traffic slowly shift to V1 until all traffic is directed to V1 and none to V2
- rollout-watch: You should see more v1 deployments until there are 5 v1 and 5 v2 deployments. After some time, you should see the v2 deployments scale down to 0


- rollout-watch: You should see more v1 deployments until there are 5 v1 and 5 v2 deployments. After some time, you should see the v2 deployments scale down to 0

0 comments on commit 06742ff

Please sign in to comment.