Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Can we add multiple gke cluster in gcp nat instance ? #103

Open
imvishalvyas opened this issue Nov 13, 2018 · 1 comment
Open

Can we add multiple gke cluster in gcp nat instance ? #103

imvishalvyas opened this issue Nov 13, 2018 · 1 comment

Comments

@imvishalvyas
Copy link

i have created nat instance and added one cluster behind NAT, now i want to create another cluster and add into NAT instance. please suggest.

@danisla
Copy link
Contributor

danisla commented Nov 15, 2018

You can use a common network tag to route traffic from both clusters through the NAT instance.

My suggestion is to add a common network tag like gke-nat to the nodes in your cluster. You can apply this to the node pools using the --tags argument if you created the cluster with gcloud or set the tags list when creating with Terraform.

Note that this only works for clusters in the same VPC network.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants