I'm using Kubernetes into google cloud platform and have defined some clusters with deployment controllers there.
For each pod into deployment there is a health check which each 30sec check my route(www.example.com) and the response must be 200 else it cause the health check goes fail.
So i decided to trace it and write die() in my index.php then health check show green status and it works correctly. I got confused and i really do not know what happened for this pod and why it does not work.
Could anybody help my to find this issue in my pod and tell me what is exactly this health check doing in GCP?