Google Kubernetes Engine network is not working properly

1/27/2019

I'm using GKE and I have two deployments, one service and one postgres instance. I was debugging -since I am really new on it- and suddenly I could not access my service from outside from its IP. Neither the connections from my deployments to my sql instances works now. I tried a lot of things (creating a new cluster, creating new database, changing static ips and so on).

I found this help page: https://kubernetes.io/docs/tasks/debug-application-cluster/debug-service, but when I tried to run nslookup hostnames I found this:

bash: nslookup: command not found

I tried to install it but

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package nslookup

I'm not sure if the issue is related to firewall or DNS. It is strange that I could not debug in the way documentation suggests.

Edit: I am using 1.10.11-gke.1

-- MarcosTonina
gke-networking
google-kubernetes-engine
kubernetes

0 Answers