“kubectl logs” not working after adding NAT gateways


#1

Not sure this forum is for questions like this, but I wonder if it’s possible that “kubectl logs” would still work after adding NAT gateway to my kubernetes cluster on GCE.

What I did is follow the instructions in the section of “Build high availability and high bandwidth NAT gateways” in https://cloud.google.com/vpc/docs/special-configurations, and after I tagged all instances with “no-ip”, I was no longer able to access the pod logs using “kubectl logs”.

Is it because kubectl logs under the hood using ssh? Is there any workaround to see the pod log?