-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gateway2: Fix missing liveness probe on gateway deployments #10329
Conversation
Issues linked to changelog: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
happy to approve as is, but any chance we can create a test for this?
livenessProbe: | ||
exec: | ||
command: | ||
- wget | ||
- -O | ||
- /dev/null | ||
- 127.0.0.1:19000/ready | ||
initialDelaySeconds: 3 | ||
periodSeconds: 10 | ||
failureThreshold: 3 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
livenessProbe: | |
exec: | |
command: | |
- wget | |
- -O | |
- /dev/null | |
- 127.0.0.1:19000/ready | |
initialDelaySeconds: 3 | |
periodSeconds: 10 | |
failureThreshold: 3 | |
{- $gateway.probes.livenessprobe } |
or something like that
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will add that once we add support for custom livenss probes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
but i dont think we want a default liveness at all
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The issue description says "I'd like to have proper probes by default". Seems like you and Jesus (issue author) should align on desired behavior here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we should consider how it's done in the edge proxies and decide if we want similar configurability here
Visit the preview URL for this PR (updated for commit f26d900): https://gloo-edge--pr10329-fix-liveliness-probe-ss51itsq.web.app (expires Wed, 20 Nov 2024 13:11:38 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: 77c2b86e287749579b7ff9cadb81e099042ef677 |
Closing in favour of solo-io#10332 |
Description
Fixes the missing liveliness probe for the kube gateways that come up
Before :
After :