Skip to content

Commit 16abcc5

Browse files
Fix ironic httpd readness & liveness Probe
It will be restarted because it is a path not in liveness probe The default ironic deploy without ssl requires an http call.
1 parent 2a1f11e commit 16abcc5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ironic-deployment/ironic/ironic.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,15 @@ spec:
154154
- /bin/runhttpd
155155
livenessProbe:
156156
exec:
157-
command: ["sh", "-c", "curl -sSfk https://127.0.0.1:6180"]
157+
command: ["sh", "-c", "curl -sSfk http://127.0.0.1:6180/images"]
158158
initialDelaySeconds: 30
159159
periodSeconds: 30
160160
timeoutSeconds: 10
161161
successThreshold: 1
162162
failureThreshold: 10
163163
readinessProbe:
164164
exec:
165-
command: ["sh", "-c", "curl -sSfk https://127.0.0.1:6180"]
165+
command: ["sh", "-c", "curl -sSfk http://127.0.0.1:6180/images"]
166166
initialDelaySeconds: 30
167167
periodSeconds: 30
168168
timeoutSeconds: 10

0 commit comments

Comments
 (0)