Trying to use a subnet with a small scope of ips : 10.x.x.0/26 for pods with gke-autopilot . Autopilot default to /8 to /21 .However in standard private cluster ...able to use a /26 for pods .I s ther any way to configure this value for pod cidr range in auto pilot ? Is there any way in autopilot to configure pod ip nestmasks at /24 and above ?
Trying a /26 segment on autopilot ..it wont let me use it.
The mask in the
Cluster default Pod address rangehas maximum value of/21when using alias ip and/19otherwise.This applies to both standard and and autopilot clusters. However, in autopilot clusters alias ip is used and can't be changed so it is always maximum of
/21.Note that this range applies to the default in the cluster, but can be overridden in nodepools.
I'm pretty sure you can't set it to more than that :)
Maybe the
/26you are mentioning refers to the mask at node level, but this is automatically deduced fromMaximum pods per nodewhich can't be manually configured in autopilot since the nodes in the cluster is managed by GKE.