Ken Petti
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
7 additions and
2 deletions
-
helm-guestbook/templates/deployment.yaml
|
|
@ -1,5 +1,5 @@ |
|
|
|
apiVersion: apps/v1 |
|
|
|
kind: Deployment |
|
|
|
apiVersion: argoproj.io/v1alpha1 |
|
|
|
kind: Rollout |
|
|
|
metadata: |
|
|
|
name: {{ template "helm-guestbook.fullname" . }} |
|
|
|
labels: |
|
|
@ -50,3 +50,8 @@ spec: |
|
|
|
tolerations: |
|
|
|
{{ toYaml . | indent 8 }} |
|
|
|
{{- end }} |
|
|
|
strategy: |
|
|
|
canary: # A new field that used to provide configurable options for a Canary strategy |
|
|
|
steps: |
|
|
|
- setWeight: 20 |
|
|
|
- pause: {} |
|
|
|