fix api response time

main
cahe 2 years ago
parent d89b0a1598
commit bfb8d3ae8e

@ -30,6 +30,18 @@ kind: Rollout
metadata: metadata:
name: python-deployment name: 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}
selector: selector:
matchLabels: matchLabels:
app: python-deployment app: python-deployment
@ -38,18 +50,6 @@ 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