When configuring AWS Loadbalancer with Apigee Hybrid on EKS what is the recommended way to setup healthcheck.
Since as per Apigee documentation for health check the below is the recommended method
curl -H 'User-Agent: GoogleHC/' https://DOMAIN/healthz/ingress -k \
--resolve "DOMAIN:443:INGRESS_IP_ADDRESS"
But however since the Application Loadbalancer is making a call to the nodes using the IP address this would result in 404
Any suggestions on this
Can you configure the health check to pass the host name in the "Host" header ? could you also link us to the documentation page of the health check that you are trying to configure ?
This is aws Application loadbalancer
https://docs.aws.amazon.com/elasticloadbalancing/latest/application/target-group-health-checks.html
is there any special header that is automatically added to the HTTP request made by this health check ? We can enhance our health check to match for that header.
Its an AWS applicaiton load balancer and they may change the header or configuration at any point which may break the flow
Is there any recommended steps to configure Healthchecks for Application loadbalancers of other cloud providers?
The recommendation is to configure the HC with right host and user-agent header but in your case your HC provider doesn't allow you to configure the headers. So there must be a unique header that is set automatically, i don't expect this value to change because it will cause outages everywhere, we can do changes in the product to support it.