kustomize: convert rollout to deployment
This commit is contained in:
parent
4c3d660a0c
commit
7b0c93aa62
@ -1,24 +1,12 @@
|
|||||||
---
|
---
|
||||||
apiVersion: argoproj.io/v1alpha1
|
apiVersion: apps/v1
|
||||||
kind: Rollout
|
kind: Deployment
|
||||||
metadata:
|
metadata:
|
||||||
name: kipunji
|
name: kipunji
|
||||||
annotations:
|
annotations:
|
||||||
reloader.stakater.com/auto: "true"
|
reloader.stakater.com/auto: "true"
|
||||||
spec:
|
spec:
|
||||||
replicas: 5
|
replicas: 5
|
||||||
strategy:
|
|
||||||
canary:
|
|
||||||
steps:
|
|
||||||
- setWeight: 20
|
|
||||||
- pause: {}
|
|
||||||
- setWeight: 40
|
|
||||||
- pause: {duration: 10}
|
|
||||||
- setWeight: 60
|
|
||||||
- pause: {duration: 10}
|
|
||||||
- setWeight: 80
|
|
||||||
- pause: {duration: 10}
|
|
||||||
revisionHistoryLimit: 2
|
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app: kipunji
|
app: kipunji
|
@ -5,6 +5,6 @@ namespace: kipunji
|
|||||||
resources:
|
resources:
|
||||||
- secret.yaml
|
- secret.yaml
|
||||||
- configmap.yaml
|
- configmap.yaml
|
||||||
- rollout.yaml
|
- deployment.yaml
|
||||||
- services.yaml
|
- services.yaml
|
||||||
- ingress.yaml
|
- ingress.yaml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user