ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 162 - DCA discussion

Report
Export

A Kubernetes node is allocated a /26 CIDR block (64 unique IPs) for its address space.

If every pod on this node has exactly two containers in it, how many pods can this address space support on this node?

A.

-995

Answers
A.

-995

B.

64

Answers
B.

64

C.

32 in every Kubernetes namespace

Answers
C.

32 in every Kubernetes namespace

D.

64 for every service routing to pods on this node

Answers
D.

64 for every service routing to pods on this node

E.

32

Answers
E.

32

Suggested answer: E

Explanation:

A Kubernetes node is allocated a /26 CIDR block (64 unique IPs) for its address space. This means that the node can assign up to 64 IP addresses to its resources, such as pods and containers. If every pod on this node has exactly two containers in it, then each pod will need two IP addresses, one for each container. Therefore, the node can support up to 32 pods, since 64 / 2 = 32. The other options are incorrect because they either exceed the available IP addresses or do not account for the number of containers per pod.

Reference:

* CIDR Blocks and Container Engine for Kubernetes - Oracle

* How kubernetes assigns podCIDR for nodes? - Stack Overflow

asked 08/11/2024
Rahul Biradavolu
41 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first