0

I created a Kubernetes cluster on google cloud with two nodes. Few days later the IP of vm changed. after that, I made those IPs static to my VMs from the console using VPC network > External IP address and changed the Type from Ephemeral to Static. I want this because my applications on Kubernetes connect to a remote DB and that DB server is setup on IP based permissions. Now after a few days later, google assigns new IPs to my Kubernetes nodes keeping the old IPs static and displays None in In use by column. I don't know what is wrong in my configurations or something else on google side.

1 Answer 1

3

Each time a node is created (due to a node repair or node upgrade) the VM for the node will be assigned a new IP address.

Stable public IP or IP range for outbound connections in GKE asks for ideas on how to set a stable outbound IP range on GKE (hint: the recommendation is to use Cloud NAT).

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .