Skip to content

Determine Coredns replica based on number of control nodes#519

Merged
hemanthnakkina merged 1 commit into
canonical:mainfrom
hemanthnakkina:coredns-min-replica
Jun 20, 2025
Merged

Determine Coredns replica based on number of control nodes#519
hemanthnakkina merged 1 commit into
canonical:mainfrom
hemanthnakkina:coredns-min-replica

Conversation

@hemanthnakkina

Copy link
Copy Markdown
Collaborator

Currently the HPA applied on coredns has minReplica as 1. This means in case of multi node deployment, the number of codedns pods is 1 if there is no load on coredns.

The ideal situation is to have 3 coredns in case of multi node deployment irrespective of the load. Determine the number of replicas for coredns based on number of control nodes.
Apply the determined replica during deploy command in mass mode and resize command in manual mode.

Currently the HPA applied on coredns has minReplica as 1.
This means in case of multi node deployment, the number
of codedns pods is 1 if there is no load on coredns.

The ideal situation is to have 3 coredns in case of multi
node deployment irrespective of the load. Determine the
number of replicas for coredns based on number of control
nodes.
Apply the determined replica during deploy command in
mass mode and resize command in manual mode.
@hemanthnakkina
hemanthnakkina merged commit 754b5c8 into canonical:main Jun 20, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants