35 lines
749 B
YAML
35 lines
749 B
YAML
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.icurfer.com/open/nginx:a
|
|
ports:
|
|
- name: http
|
|
containerPort: 80 |