1 changed files with
3 additions and
2 deletions
|
|
|
@ -35,7 +35,8 @@ spec:
|
|
|
|
canary:
|
|
|
|
canary:
|
|
|
|
steps:
|
|
|
|
steps:
|
|
|
|
- setWeight: 50
|
|
|
|
- setWeight: 50
|
|
|
|
- pause: {duration: 60}
|
|
|
|
- pause:
|
|
|
|
|
|
|
|
duration: 60
|
|
|
|
selector:
|
|
|
|
selector:
|
|
|
|
matchLabels:
|
|
|
|
matchLabels:
|
|
|
|
app: python-deployment
|
|
|
|
app: python-deployment
|
|
|
|
@ -48,7 +49,7 @@ spec:
|
|
|
|
- name: app
|
|
|
|
- name: app
|
|
|
|
args:
|
|
|
|
args:
|
|
|
|
- '/bin/python3'
|
|
|
|
- '/bin/python3'
|
|
|
|
- '/app/app.py'
|
|
|
|
- '/app/app2.py'
|
|
|
|
readinessProbe:
|
|
|
|
readinessProbe:
|
|
|
|
initialDelaySeconds: 10
|
|
|
|
initialDelaySeconds: 10
|
|
|
|
timeoutSeconds: 10
|
|
|
|
timeoutSeconds: 10
|
|
|
|
|