Skip to content

Commit 74840b2

Browse files
committed
added back the probe config
1 parent 2ed4616 commit 74840b2

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

app-template.yaml

+12-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,14 @@ objects:
8282
selector:
8383
deploymentConfig: ${APPLICATION_NAME}
8484
strategy:
85-
type: Recreate
85+
resources: {}
86+
rollingParams:
87+
intervalSeconds: 1
88+
maxSurge: 25%
89+
maxUnavailable: 25%
90+
timeoutSeconds: 600
91+
updatePeriodSeconds: 1
92+
type: Rolling
8693
template:
8794
metadata:
8895
labels:
@@ -136,6 +143,10 @@ objects:
136143
path: /ws/demo/healthcheck
137144
port: 8080
138145
scheme: HTTP
146+
initialDelaySeconds: 20
147+
periodSeconds: 5
148+
successThreshold: 1
149+
timeoutSeconds: 1
139150
terminationGracePeriodSeconds: 60
140151
triggers:
141152
- imageChangeParams:

0 commit comments

Comments
 (0)