Skip to content

Commit

Permalink
Merge pull request #1657 from dtantsur/probes
Browse files Browse the repository at this point in the history
🌱 Make use of the new liveness/readiness probe scripts
  • Loading branch information
metal3-io-bot authored Apr 8, 2024
2 parents fb91b5b + c11c962 commit c7aa4ae
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
4 changes: 2 additions & 2 deletions ironic-deployment/base/ironic.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,15 +67,15 @@ spec:
- /bin/runironic
livenessProbe:
exec:
command: ["sh", "-c", "curl -sSf http://127.0.0.1:6385 || curl -sSfk https://127.0.0.1:6385"]
command: ["/bin/ironic-liveness"]
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 10
successThreshold: 1
failureThreshold: 10
readinessProbe:
exec:
command: ["sh", "-c", "curl -sSf http://127.0.0.1:6385 || curl -sSfk https://127.0.0.1:6385"]
command: ["/bin/ironic-readiness"]
initialDelaySeconds: 30
periodSeconds: 30
timeoutSeconds: 10
Expand Down
6 changes: 0 additions & 6 deletions ironic-deployment/components/tls/tls.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@ spec:
spec:
containers:
- name: ironic
readinessProbe:
exec:
command: ["sh", "-c", "curl -sSf http://127.0.0.1:6388"]
livenessProbe:
exec:
command: ["sh", "-c", "curl -sSf http://127.0.0.1:6388"]
env:
- name: IRONIC_REVERSE_PROXY_SETUP
value: "true"
Expand Down

0 comments on commit c7aa4ae

Please sign in to comment.