You then use that Static IP as the IP to filter.
There is no native GKE solution for you. You will be looking to implement a outbound NAT in GCE, and set your Route to point outgoing traffic from the GKE cluster to that instance with a Static IP.
You then use that Static IP as the IP to filter.
--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
Visit this group at https://groups.google.com/group/kubernetes-users.
For more options, visit https://groups.google.com/d/optout.
The best workaround I can come up with is to set the NAT gateway route to just apply to the specific remote IP addresses that require a fixed source; that is more brittle than I'd like though, as any change in remote IP will result in my route not matching any more.
Am I missing something?
What I really want is for GKE to be able to assign an existing (or allocate a new) static IP to each node in the cluster, and make an effort to move them across node upgrades and cluster resizing. i.e. as long as I have at least one node in my cluster, there should be a static IP "gke-cluster-node-1".
Cheers,
Paul
--
You received this message because you are subscribed to a topic in the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/kubernetes-users/C34yKt0qKtY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to kubernetes-users+unsubscribe@googlegroups.com.
To post to this group, send email to kubernetes-users@googlegroups.com.
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscribe@googlegroups.com.
Kind Regards,
Giorgio Cerruti
Beinnova di Giorgio Cerruti
Since this thread is on the first Google page for the "egress stable Ip traffic kubernetes" I think this might be useful for others.
Thanks!
Did you figure out a way to assign reserved static IP addresses to a few specific nodes in a GKE pool?
We are also fine with doing this manually for a couple of specific nodes for the time being (rather than building a NAT gateway), but I cannot find reliable information about how to assign a reserved static IP to a GKE node.
Cheers,
Mike
No guarantees around when GKE will rebuild those nodes and lose the node IPs, but it works for now.
--
You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-use...@googlegroups.com.
To post to this group, send email to kubernet...@googlegroups.com.