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
|
app: fedora-packages-static
|
||||||
deploymentconfig: fedora-packages-static
|
deploymentconfig: fedora-packages-static
|
||||||
strategy:
|
strategy:
|
||||||
type: Rolling
|
type: Recreate
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
@ -46,15 +46,14 @@ spec:
|
||||||
- name: db-volume
|
- name: db-volume
|
||||||
mountPath: /etc/packages
|
mountPath: /etc/packages
|
||||||
readinessProbe:
|
readinessProbe:
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 5
|
||||||
# Needs time to do inital sync, which should take about five minutes
|
initialDelaySeconds: 30
|
||||||
initialDelaySeconds: 600
|
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 8080
|
port: 8080
|
||||||
livenessProbe:
|
livenessProbe:
|
||||||
timeoutSeconds: 1
|
timeoutSeconds: 5
|
||||||
initialDelaySeconds: 630
|
initialDelaySeconds: 30
|
||||||
httpGet:
|
httpGet:
|
||||||
path: /
|
path: /
|
||||||
port: 8080
|
port: 8080
|
||||||
|
@ -90,7 +89,7 @@ spec:
|
||||||
app: fedora-packages-static
|
app: fedora-packages-static
|
||||||
deploymentconfig: fedora-packages-static
|
deploymentconfig: fedora-packages-static
|
||||||
strategy:
|
strategy:
|
||||||
type: Rolling
|
type: Recreate
|
||||||
template:
|
template:
|
||||||
metadata:
|
metadata:
|
||||||
labels:
|
labels:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue