-
Notifications
You must be signed in to change notification settings - Fork 894
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: stuck rollout when rollout is paused
Signed-off-by: asingh51 <[email protected]> fix: stuck rollout when rollout is paused Signed-off-by: asingh51 <[email protected]> fix: stuck rollout when rollout is paused Signed-off-by: asingh51 <[email protected]> fix: stuck rollout when rollout is paused Signed-off-by: asingh51 <[email protected]> fix: stuck rollout when rollout is paused Signed-off-by: asingh51 <[email protected]> fix: stuck rollout when rollout is paused Signed-off-by: asingh51 <[email protected]> fix: stuck rollout when rollout is paused Signed-off-by: asingh51 <[email protected]>
- Loading branch information
asingh51
committed
Feb 8, 2024
1 parent
7bb1f84
commit 99e2cdf
Showing
3 changed files
with
83 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
91 changes: 0 additions & 91 deletions
91
test/e2e/functional/canary-deploy-new-rev-on-paused-rollout.yaml
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: rollout-canary-with-pause-root | ||
spec: | ||
type: NodePort | ||
ports: | ||
- port: 80 | ||
targetPort: http | ||
protocol: TCP | ||
name: http | ||
selector: | ||
app: rollout-canary-with-pause | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: rollout-canary-with-pause-canary | ||
spec: | ||
type: NodePort | ||
ports: | ||
- port: 80 | ||
targetPort: http | ||
protocol: TCP | ||
name: http | ||
selector: | ||
app: rollout-canary-with-pause | ||
--- | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
name: rollout-canary-with-pause-stable | ||
spec: | ||
type: NodePort | ||
ports: | ||
- port: 80 | ||
targetPort: http | ||
protocol: TCP | ||
name: http | ||
selector: | ||
app: rollout-canary-with-pause | ||
--- | ||
|
||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Rollout | ||
metadata: | ||
name: rollout-canary-with-pause | ||
spec: | ||
replicas: 3 | ||
revisionHistoryLimit: 2 | ||
progressDeadlineSeconds: 5 | ||
selector: | ||
matchLabels: | ||
app: rollout-canary-with-pause | ||
template: | ||
metadata: | ||
labels: | ||
app: rollout-canary-with-pause | ||
spec: | ||
containers: | ||
- name: rollouts-demo | ||
image: nginx:1.19-alpine | ||
ports: | ||
- containerPort: 80 | ||
readinessProbe: | ||
initialDelaySeconds: 10 | ||
httpGet: | ||
path: / | ||
port: 80 | ||
periodSeconds: 30 | ||
strategy: | ||
canary: | ||
steps: | ||
- setWeight: 20 | ||
- pause: {} |