Skip to content

Commit

Permalink
Fixed default DNS min replica for single node clusters (#8109)
Browse files Browse the repository at this point in the history
  • Loading branch information
smasset authored Oct 27, 2021
1 parent 488fbd8 commit 7e296b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/kubernetes-apps/ansible/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
dns_memory_limit: 170Mi
dns_cpu_requests: 100m
dns_memory_requests: 70Mi
dns_min_replicas: 2
dns_min_replicas: "{{ [ 2, groups['k8s_cluster'] | length ] | min }}"
dns_nodes_per_replica: 16
dns_cores_per_replica: 256
dns_prevent_single_point_failure: "{{ 'true' if dns_min_replicas|int > 1 else 'false' }}"
Expand Down

0 comments on commit 7e296b1

Please sign in to comment.