fix api response time

main
cahe 2 years ago
parent d89b0a1598
commit bfb8d3ae8e

@ -30,6 +30,18 @@ kind: Rollout
metadata:
name: python-deployment
spec:
replicas: 5
strategy:
canary:
steps:
- setWeight: 20
- pause: {}
- setWeight: 40
- pause: {duration: 10}
- setWeight: 60
- pause: {duration: 10}
- setWeight: 80
- pause: {duration: 10}
selector:
matchLabels:
app: python-deployment
@ -38,18 +50,6 @@ spec:
labels:
app: python-deployment
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:
- name: app
args:

Loading…
Cancel
Save