A few months back I was able to access a port on my pod using the url
/api/v1/namespaces/namespace/pods/podname:port/proxy/path/
But after upgrading GKE I consistently get a 400 Bad Request with no further explanation. The same approach still works on Docker Desktop, Azure AKS and Amazon EKS.
Other api calls appear to work fine, such as /api/v1/namespaces/namespace/secrets
.
Anyone got the same problem and have a solution for it?