mirror of
https://github.com/hanzoai/cd.git
synced 2026-10-30 14:56:45 +00:00
Signed-off-by: nitishfy <[email protected]> Signed-off-by: Nitish Kumar <[email protected]> Signed-off-by: Blake Pettersson <[email protected]> Co-authored-by: Blake Pettersson <[email protected]>
26 lines
485 B
YAML
26 lines
485 B
YAML
apiVersion: argoproj.io/v1alpha1
|
|
kind: Rollout
|
|
metadata:
|
|
name: rollout-sample
|
|
spec:
|
|
replicas: 2
|
|
strategy:
|
|
canary:
|
|
steps:
|
|
- setWeight: 20
|
|
selector:
|
|
matchLabels:
|
|
app: rollout-sample
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: rollout-sample
|
|
spec:
|
|
containers:
|
|
- name: init
|
|
image: init-container:v1
|
|
livenessProbe:
|
|
initialDelaySeconds: 10
|
|
- name: main
|
|
image: main-container:v1
|