I have a private cluster in GKE which I access through Bastion host. Everything works except port-forwarding workloads (services). I suspect the issue is the private cluster and something to do with networking. The cloud console does not have the option to port forward as well. What may have caused this issue? Any idea would be great. Thanks
No port-forwarding option is visible
EDIT: My goal is to get the port-forwarding commands easily accessible through the cloud console like in the picture below.
We have another cluster that was configured earlier. In it, I can see the debug / port-forwarding option side-by-side with the Ports.
I have created a private cluster in my cloud console and deployed a service but the port forward option is enabled for me.
Below is my cluster configuration:
Below are the service details:
Can you try changing the target port as 80 and try again
kubectl port-forward
and use the web preview option.