-
Notifications
You must be signed in to change notification settings - Fork 304
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
Add Hostname to HealthCheckConfig #1046
Comments
A use case is as follows:
If this healthcheck didn't have a specific hostname then the behavior of the cluster is surprising to developers/operators as the default request is then a content-free 200. The hostname can be configured on the healthcheck but I'd prefer to hand this to a control plane as configuration rather than deal with additional configuration and state that might get removed or reset. |
Hi @tmc Does configuring the path of the GCE health check also solve the problem? It would be configured in the BackendConfig which will be supported soon by #1040. Note that this PR does not support changing of the health check hostname, only path. It could be done like this and referenced by the Service:
Then all hosts with
Let me know if this has the same effect for you as changing the health check hostname. |
Changing the path does not solve this issue for me. My application checks for hostname and does custom logic (For example customer domain CNAME to my domain to show a customers page) based on requested hostname. I have set the hostname in the console but would obviously prefer to have this in reproducible config files as well. |
Direct health check configuration is currently in development. It will roll out to GKE 1.17 and 1.16 likely within the next 1-2 months. Here are the fields that will be supported. Unfortunately hostname header did not make the cut because of some complications but we hope that these fields will at least make health checking somewhat easier and more predictable:
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
That's unfortunate as Django has an |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
I need a health check for my Django app that supports sending the /reopen |
@dariemp: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Right now the HealthCheckConfig can't/doesn't allow specification of the Host header to send with the health check.
The text was updated successfully, but these errors were encountered: