fix api response time

main
cahe 2 years ago
parent 3186f1d569
commit e814e7653d

@ -26,7 +26,7 @@ spec:
memory: 200Mi memory: 200Mi
--- ---
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Rollout
metadata: metadata:
name: python-deployment name: python-deployment
spec: spec:
@ -38,6 +38,18 @@ spec:
labels: labels:
app: python-deployment app: python-deployment
spec: spec:
replicas: 5
strategy:
canary:
steps:
- setWeight: 20
- pause: {}
- setWeight: 40
- pause: {duration: 10}
- setWeight: 60
- pause: {duration: 10}
- setWeight: 80
- pause: {duration: 10}
containers: containers:
- name: app - name: app
args: args:

Loading…
Cancel
Save