Hi @SegunRova ,
Your question lack details such as the error message when you mentioned that it returns to the wrong configuration,
@SegunRova wrote:
but after some few minutes GCP returns to the wrong configuration.
or, if you have followed any steps or guides, or any related documentation prior to the ingress creation.
You may try to reconfigure the health check by following this guide regarding health check configuration.
If the console is returning or giving an error message related to the backend config, ingress, etc, you may find the troubleshooting steps on this documentation.
Hi @Marvin_Lucero , thank you for your response, yes I have some couple of documentation I'm following.
https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-configuration#backendconfig
https://cloud.google.com/kubernetes-engine/docs/how-to/multi-cluster-ingress#grpc_support
https://cloud.google.com/kubernetes-engine/docs/concepts/ingress#health_checks
https://cloud.google.com/kubernetes-engine/docs/how-to/ingress-configuration#direct_health
Also if you observe my configuration aligns with the above documentation, including the one you sent. There is no specific error message but the health check configuration in the GCP console does not obey the CRD config which cause the health check to fail and the application returns the below error.
Attached below is what is on the GCP console after applying the CRDs.
Thank you once again.
Hi @SegunRova Is this issue resolved? I am also facing the same issue.
Hi, @mackvats , yes I got it resolved.
I had to ensure that the container-port corresponds with the health check port
Thanks @SegunRova Issue got resolved.
Make sure it is the container port, by the way. If your application inside the container serves on port 8080, that port needs to go into the backend config.