Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

.

.

Solved Solved
0 1 199
1 ACCEPTED SOLUTION

Kubernetes (and hence GKE) does not support multiple service ranges per cluster.  You can only have a single, cluster-wide service range.

If you are trying to support multiple env in the same cluster and need some type of network isolation, I'd recommend either using a combination of namespaces and NetworkPolicy (where you can restrict who can talk to services) or potentially using a service mesh such as ASM or Istio.

I'd start with namespaces and NetworkPolicy as it's less overhead.

View solution in original post

1 REPLY 1

Kubernetes (and hence GKE) does not support multiple service ranges per cluster.  You can only have a single, cluster-wide service range.

If you are trying to support multiple env in the same cluster and need some type of network isolation, I'd recommend either using a combination of namespaces and NetworkPolicy (where you can restrict who can talk to services) or potentially using a service mesh such as ASM or Istio.

I'd start with namespaces and NetworkPolicy as it's less overhead.

Top Labels in this Space