I use this Pac-Man application quite a lot in my Kubernetes testing and demos. One of components is the UI should show some basic information about where the pod is that your connected to for the UI. However this wasn't working on my deployments on Tanzu Kubernetes Grid. I managed to find the fault eventually. The pods were unable to query the Kubernetes API due to the wrong RBAC. I fixed this in my application with this commit.
Kubernetes in Action - Book - Ch 6 - Accessing pod metadata and other resources from applications Kubernetes error - cannot get resource "nodes" in API group "" at the cluster scope Kubernetes Documentation - Accessing Clusters
Run a basic pod on your infrastructure, exec into that pod, and then try to connect to your Kubernetes cluster API to output some information. The above links should help you.