Can I customise the Pod address range for a routes-based cluster on GKE?

0 votes
Can I customise the Pod address range for a routes-based cluster on GKE? How can I do this?
Oct 31, 2019 in GCP by anonymous
• 9,500 points
122 views

1 answer to this question.

0 votes

For GKE version 1.7 and later, the Pod address range can be from any RFC 1918 block: 10.0.0.0/8, 172.16.0.0/12 or 192.168.0.0/16. For earlier versions, the Pod address range must be from 10.0.0.0/8.

You can customize Pod address range by specifying a CIDR range. For example, you could specify the range 10.96.0.0/16

gcloud container clusters create [CLUSTER_NAME] --no-enable-ip-alias \
    --cluster-ipv4-cidr 10.96.0.0/16

where [CLUSTER_NAME] is a name that you choose for your cluster.

answered Oct 31, 2019 by Sirajul
• 50,330 points

Related Questions In GCP

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

Can I create a load balancer with path based routing in GKE?

Yes, it's possible. Note that you simply will use the internal Load balancing (ILB) for ...READ MORE

answered Oct 10, 2019 in GCP by Sirajul
• 50,330 points
172 views
0 votes
1 answer

Mounting a Google cloud storage bucket to a GKE pod as a persistent disk.

Yes, its possible. There's a similar project,follow ...READ MORE

answered Oct 16, 2019 in GCP by Sirajul
• 50,330 points
1,690 views
0 votes
1 answer
0 votes
1 answer

How can I use a pre-existing disk as a persistent volume for a GKE cluster?

If you already have a persistent disk (say ...READ MORE

answered Nov 12, 2019 in GCP by Sirajul
• 50,330 points
255 views