Skip to content

Commit

Permalink
Fixed default DNS min replica for single node clusters
Browse files Browse the repository at this point in the history
  • Loading branch information
smasset committed Oct 22, 2021
1 parent ea8e2fc commit 4c609c5
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['all'] | 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 4c609c5

Please sign in to comment.