I installed kubernetes 3 node cluster in google cloud virtual machines.All PODS are working fine inside the network but I am not able to expose the service url outside google cloud.


You can expose the service itself, but you are not able to expose the service URL. The URL is only known to the Kubedns of your cluster.

If you would like to expose the service, I would suggest using a "Nodeport" or "LoadBalancer" type. You can read more about how to expose the service here.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.