-
Notifications
You must be signed in to change notification settings - Fork 867
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: ashutosh16 <[email protected]> fix: stuck rollout when rollout is paused Signed-off-by: ashutosh16 <[email protected]> fix: stuck rollout when rollout is paused Signed-off-by: ashutosh16 <[email protected]> fix: stuck rollout when rollout is paused Signed-off-by: ashutosh16 <[email protected]>
- Loading branch information
1 parent
f305342
commit 4ffad05
Showing
3 changed files
with
95 additions
and
1 deletion.
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
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
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,77 @@ | ||
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: 3 | ||
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: | ||
canaryService: rollout-canary-with-pause-canary | ||
stableService: rollout-canary-with-pause-stable | ||
steps: | ||
- setWeight: 20 | ||
- pause: {} | ||
|