..
This commit is contained in:
35
base/rollout.yaml
Normal file
35
base/rollout.yaml
Normal file
@ -0,0 +1,35 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Rollout
|
||||
metadata:
|
||||
name: rollouts-demo
|
||||
spec:
|
||||
replicas: 1
|
||||
strategy:
|
||||
canary:
|
||||
canaryService: rollouts-demo-canary
|
||||
stableService: rollouts-demo-stable
|
||||
trafficRouting:
|
||||
istio:
|
||||
virtualServices:
|
||||
- name: rollouts-demo-vsvc1
|
||||
routes:
|
||||
- primary
|
||||
steps:
|
||||
- setWeight: 5
|
||||
- pause: {}
|
||||
revisionHistoryLimit: 2
|
||||
selector:
|
||||
matchLabels:
|
||||
app: rollouts-demo
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
app: rollouts-demo
|
||||
istio-injection: enabled
|
||||
spec:
|
||||
containers:
|
||||
- name: rollouts-demo
|
||||
image: harbor.inje-private.com/open/nginx:a
|
||||
ports:
|
||||
- name: http
|
||||
containerPort: 80
|
Reference in New Issue
Block a user