packages-static: change deploy strategy to recreate
This commit is contained in:
parent
4af473e648
commit
84d69178f3
1 changed files with 6 additions and 7 deletions
|
@ -12,7 +12,7 @@ spec:
|
|||
app: fedora-packages-static
|
||||
deploymentconfig: fedora-packages-static
|
||||
strategy:
|
||||
type: Rolling
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
@ -46,15 +46,14 @@ spec:
|
|||
- name: db-volume
|
||||
mountPath: /etc/packages
|
||||
readinessProbe:
|
||||
timeoutSeconds: 1
|
||||
# Needs time to do inital sync, which should take about five minutes
|
||||
initialDelaySeconds: 600
|
||||
timeoutSeconds: 5
|
||||
initialDelaySeconds: 30
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8080
|
||||
livenessProbe:
|
||||
timeoutSeconds: 1
|
||||
initialDelaySeconds: 630
|
||||
timeoutSeconds: 5
|
||||
initialDelaySeconds: 30
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8080
|
||||
|
@ -90,7 +89,7 @@ spec:
|
|||
app: fedora-packages-static
|
||||
deploymentconfig: fedora-packages-static
|
||||
strategy:
|
||||
type: Rolling
|
||||
type: Recreate
|
||||
template:
|
||||
metadata:
|
||||
labels:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue