fix api response time

main
cahe 2 years ago
parent d89b0a1598
commit bfb8d3ae8e

@ -30,14 +30,6 @@ kind: Rollout
metadata: metadata:
name: python-deployment name: python-deployment
spec: spec:
selector:
matchLabels:
app: python-deployment
template:
metadata:
labels:
app: python-deployment
spec:
replicas: 5 replicas: 5
strategy: strategy:
canary: canary:
@ -50,6 +42,14 @@ spec:
- pause: {duration: 10} - pause: {duration: 10}
- setWeight: 80 - setWeight: 80
- pause: {duration: 10} - pause: {duration: 10}
selector:
matchLabels:
app: python-deployment
template:
metadata:
labels:
app: python-deployment
spec:
containers: containers:
- name: app - name: app
args: args:

Loading…
Cancel
Save