forked from argoproj/argo-cd
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update rollout healthcheck to use pause conditons (argoproj#2842)
- Loading branch information
1 parent
14d0e76
commit c3ed032
Showing
7 changed files
with
108 additions
and
202 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
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
58 changes: 0 additions & 58 deletions
58
...ustomizations/argoproj.io/Rollout/testdata/bluegreen/suspended_servingPreviewService.yaml
This file was deleted.
Oops, something went wrong.
71 changes: 0 additions & 71 deletions
71
resource_customizations/argoproj.io/Rollout/testdata/canary/suspended_pausedStep.yaml
This file was deleted.
Oops, something went wrong.
52 changes: 52 additions & 0 deletions
52
resource_customizations/argoproj.io/Rollout/testdata/suspended_controllerPause.yaml
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,52 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Rollout | ||
metadata: | ||
name: canary-demo | ||
namespace: default | ||
spec: | ||
replicas: 5 | ||
revisionHistoryLimit: 1 | ||
selector: | ||
matchLabels: | ||
app: canary-demo | ||
strategy: | ||
canary: | ||
canaryService: canary-demo-preview | ||
steps: | ||
- setWeight: 20 | ||
- pause: {} | ||
template: | ||
metadata: | ||
creationTimestamp: null | ||
labels: | ||
app: canary-demo | ||
spec: | ||
containers: | ||
- image: argoproj/rollouts-demo:yellow | ||
imagePullPolicy: Always | ||
name: canary-demo | ||
status: | ||
HPAReplicas: 5 | ||
availableReplicas: 5 | ||
blueGreen: {} | ||
canary: | ||
stableRS: 75c96899b8 | ||
conditions: | ||
- lastTransitionTime: "2019-12-09T18:34:12Z" | ||
lastUpdateTime: "2019-12-09T18:34:12Z" | ||
message: Rollout is paused | ||
reason: RolloutPaused | ||
status: Unknown | ||
type: Progressing | ||
controllerPause: true | ||
currentPodHash: 6758949f55 | ||
currentStepHash: f64cdc9d | ||
currentStepIndex: 1 | ||
observedGeneration: 5b9f9dd6c6 | ||
pauseConditions: | ||
- reason: CanaryPauseStep | ||
startTime: "2019-12-09T18:34:12Z" | ||
readyReplicas: 5 | ||
replicas: 5 | ||
selector: app=canary-demo | ||
updatedReplicas: 1 |
46 changes: 46 additions & 0 deletions
46
resource_customizations/argoproj.io/Rollout/testdata/suspended_userPause.yaml
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,46 @@ | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Rollout | ||
metadata: | ||
name: example-rollout-canary | ||
namespace: default | ||
spec: | ||
paused: true | ||
replicas: 5 | ||
selector: | ||
matchLabels: | ||
app: guestbook | ||
strategy: | ||
canary: | ||
steps: | ||
- setWeight: 20 | ||
- pause: {} | ||
template: | ||
metadata: | ||
labels: | ||
app: guestbook | ||
spec: | ||
containers: | ||
- image: gcr.io/heptio-images/ks-guestbook-demo:0.2 | ||
name: guestbook | ||
status: | ||
HPAReplicas: 5 | ||
availableReplicas: 5 | ||
blueGreen: {} | ||
canary: | ||
stableRS: df986d68 | ||
conditions: | ||
- lastTransitionTime: 2019-04-26T20:18:38Z | ||
lastUpdateTime: 2019-04-26T20:18:38Z | ||
message: Rollout is paused | ||
reason: RolloutPaused | ||
status: Unknown | ||
type: Progressing | ||
currentPodHash: 6b566f47b7 | ||
currentStepHash: 6567fc959c | ||
currentStepIndex: 1 | ||
observedGeneration: 5c788f4484 | ||
pauseStartTime: 2019-04-26T20:18:38Z | ||
readyReplicas: 5 | ||
replicas: 5 | ||
selector: app=guestbook | ||
updatedReplicas: 1 |
56 changes: 0 additions & 56 deletions
56
...rce_customizations/argoproj.io/Rollout/testdata/v0.2_suspended_servingPreviewService.yaml
This file was deleted.
Oops, something went wrong.