Antoine Legrand
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with
5 additions and
2 deletions
-
roles/kubernetes-apps/ansible/defaults/main.yml
-
roles/kubernetes-apps/ansible/tasks/main.yml
|
|
@ -20,7 +20,7 @@ coredns_default_zone_cache_block: | |
|
|
|
coredns_pod_disruption_budget: false |
|
|
|
# value for coredns pdb |
|
|
|
coredns_pod_disruption_budget_max_unavailable: "30%" |
|
|
|
|
|
|
|
deploy_coredns: true |
|
|
|
# coredns_additional_configs adds any extra configuration to coredns |
|
|
|
# coredns_additional_configs: | |
|
|
|
# whoami |
|
|
|
|
|
@ -22,7 +22,9 @@ |
|
|
|
- coredns |
|
|
|
vars: |
|
|
|
clusterIP: "{{ skydns_server }}" |
|
|
|
when: dns_mode in ['coredns', 'coredns_dual'] |
|
|
|
when: |
|
|
|
- dns_mode in ['coredns', 'coredns_dual'] |
|
|
|
- deploy_coredns |
|
|
|
|
|
|
|
- name: Kubernetes Apps | CoreDNS Secondary |
|
|
|
command: |
|
|
@ -38,6 +40,7 @@ |
|
|
|
coredns_ordinal_suffix: "-secondary" |
|
|
|
when: |
|
|
|
- dns_mode == 'coredns_dual' |
|
|
|
- deploy_coredns |
|
|
|
|
|
|
|
- name: Kubernetes Apps | nodelocalDNS |
|
|
|
command: |
|
|
|