Skip to content

Commit

Permalink
Fixed default DNS min replica for single node clusters (kubernetes-si…
Browse files Browse the repository at this point in the history
  • Loading branch information
smasset authored and sakuraiyuta committed Apr 16, 2022
1 parent 5c230b5 commit 83739d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion roles/kubernetes-apps/ansible/defaults/main.yml
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 83739d6

Please sign in to comment.