Browse Source

Fixed default DNS min replica for single node clusters (#8112)

pull/8134/head
Sébastien Masset 3 years ago
committed by GitHub
parent
commit
7c3369e1b9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/kubernetes-apps/ansible/defaults/main.yml

2
roles/kubernetes-apps/ansible/defaults/main.yml

@ -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' }}"

Loading…
Cancel
Save