App Yaml Template Add

This commit is contained in:
2023-01-31 04:30:54 +00:00
parent 1c326fc0d7
commit e9fe70a78b

View File

@@ -0,0 +1,33 @@
apiVersion: argoproj.io/v1alpha1
kind: Rollout
metadata:
name: tmaxtestapp
labels:
app: tmaxtestapp
app: reviews
spec:
selector:
matchLabels:
app: tmaxtestapp
app: reviews
template:
metadata:
labels:
app: tmaxtestapp
app: reviews
spec:
containers:
- name: tmaxtestapp
image: {{URL}}
ports:
- name: port
protocol: TCP
containerPort: 9080
strategy:
canary:
maxSurge: 1
maxUnavailable: 0
steps:
- setWeight: 25
#- pause: { duration: 10s }
- pause: {}