Your VMware Tanzu Kubernetes Grid Integrated Edition (TKGI) is hosted in AWS or any other IaaS.
You would like to set up load balancer for Internet access following the steps from this documentation, Configuring Load Balancer API.
Using Application Load Balancer (ALB), you created 2 listeners for the ALB:
Healthcheck is using HTTPS, path '/' and traffic port. Once the ALB is up, the ALB showed unhealthy status of the target with the error: 'Health checks failed with these codes [404]'
This Knowledge Base (KB) article covers how to avoid this error and succesfully configure heathchecks.
curl -k -v https://<ALBIP>:8443/healthz > GET /healthz HTTP/1.1 > Host: <ALBIP>:8443 > User-Agent: curl/7.47.0 > Accept: */* > < HTTP/1.1 20
curl -k -v https://<ALBIP>:9021/actuator
curl -k -v https://<ALBIP>:9021/actuator/health