I have a subnet mask for my subnet set to 10.0.0.0/9. When setting up kubernetes, google asks for a master ip range for kubernets. I set this to 10.0.0.0/28 but I have no idea if this is correct or how these two things are related? Is there any info on that?
Also, did I do that right? I assume the kubernetes has to be using the ips of the subnet.
thanks, Dean
"Master IP Range" is only relevant in GKE when you enable Private Network.
When creating a private cluster, the Master IP Range
has the following information message:
Master IP range is a private RFC 1918 range for the master's VPC. The master range must not overlap with any subnet in your cluster's VPC. The master and your cluster use VPC peering to communicate privately. This setting is permanent.
If you look at Creating a Private GKE Cluster you can find many configuration examples for different access types.
Example: If your subnet is 10.0.0.0/9 you must use a Master IP Range outside of that range.
Here you can learn more about GKE Networking.
If you have any doubts let me know in the comments.