Topic 1 Question 65
You need to define an address plan for a future new GKE cluster in your VPC. This will be a VPC native cluster, and the default Pod IP range allocation will be used. You must pre-provision all the needed VPC subnets and their respective IP address ranges before cluster creation. The cluster will initially have a single node, but it will be scaled to a maximum of three nodes if necessary. You want to allocate the minimum number of Pod IP addresses. Which subnet mask should you use for the Pod IP address range?
/21
/22
/23
/25
ユーザの投票
コメント(17)
I think it's B.
"This will be a VPC native cluster, and the default Pod IP range allocation will be used."
From https://cloud.google.com/kubernetes-engine/docs/how-to/flexible-pod-cidr#overview "With the default maximum of 110 Pods per node, Kubernetes assigns a /24 CIDR block (256 addresses) to each of the nodes."
That is, /24 for one node. We have 3 nodes, so we need /22.
👍 28groovygorilla2021/01/06TL;DR: correct answer /22
Max nodes will be three. Each node can have a max of 254 pods. 254 * 3 -> 762 pods Both a /25 and /23 wouldn't be enough --> those would respectively account for 128 and 512 pods /21 would be too large -> that would be enough for 2048 pods /22 is the right one, accounting for 1024 PODs
👍 10lukedj872020/11/11I think B is the right answer. although best practice suits the answer C I will go with B because it says "it will scaled to a maximum of three nodes if necessary" so there's a chance you will not be using all of the ip address and if t scales to a maximum you can still accomodate it with the minimum number of ip addresses
👍 3LaXuS2021/02/24
シャッフルモード