Skip to content

Commit

Permalink
chore: add stable and canary labels
Browse files Browse the repository at this point in the history
to canary rollouts
  • Loading branch information
carlossg committed Jun 11, 2024
1 parent f528fdd commit 45e884c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions examples/analysis/rollout-with-analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ spec:
- name: ingress
value: canary-demo
canaryService: canary-demo-preview
stableMetadata:
labels:
role: stable
canaryMetadata:
labels:
role: canary
steps:
- setWeight: 40
- pause: {}
Expand Down
6 changes: 6 additions & 0 deletions examples/canary/canary-rollout.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ spec:
strategy:
canary:
canaryService: canary-demo-preview
stableMetadata:
labels:
role: stable
canaryMetadata:
labels:
role: canary
steps:
- setWeight: 20
- pause: {}
Expand Down

0 comments on commit 45e884c

Please sign in to comment.