05/09/2023, 2:51 PM
What would be the best way of verifying that the service behind the webhook is up and healthy? I need to do this throughout the process of following the best practice of removing a Kubernetes worker node that’s also a longhorn node. And this is further needed because I’m removing nodes in the process of performing a rolling cluster upgrade … so one node goes ( drained and so on ) … and then the service behind the webhook might not be fully ready on a new node. Yes I’m also filtering out the needed longhorn workloads from the drain …. Thank you 🤜🏽 🤛🏽 🙏
anyone with an idea on this one?


05/10/2023, 3:06 PM
webhook pod has readinessProbe setting only when the pod is up and ready to serve the request will it become ready so it there is any webhook pod running that means the service can serve the request


05/10/2023, 4:25 PM
Okay cool .. so basically control whether all webhook pods are ready to be on the safe side … and then execute what’s needed.
👍 1