forked from argoproj/argo-rollouts
-
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.
feat: support reference model for workloads (argoproj#676)
Signed-off-by: Alexander Matyushentsev <[email protected]>
- Loading branch information
Showing
17 changed files
with
867 additions
and
145 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
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,39 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
labels: | ||
app.kubernetes.io/instance: rollout-canary | ||
name: rollout-ref-deployment | ||
spec: | ||
replicas: 0 | ||
selector: | ||
matchLabels: | ||
app: rollout-ref-deployment | ||
template: | ||
metadata: | ||
labels: | ||
app: rollout-ref-deployment | ||
spec: | ||
containers: | ||
- name: rollouts-demo | ||
image: argoproj/rollouts-demo:blue | ||
imagePullPolicy: Always | ||
ports: | ||
- containerPort: 8080 | ||
--- | ||
apiVersion: argoproj.io/v1alpha1 | ||
kind: Rollout | ||
metadata: | ||
name: rollout-ref-deployment | ||
spec: | ||
replicas: 5 | ||
revisionHistoryLimit: 2 | ||
templateRef: | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
name: rollout-ref-deployment | ||
strategy: | ||
canary: | ||
steps: | ||
- setWeight: 20 | ||
- pause: {duration: 10s} |
Oops, something went wrong.