Skip to content

Commit f044737

Browse files
hadi2f244hadiazad
authored andcommitted
Add dns-autoscaler ConfigMap template (#12789)
1 parent 5cf8f3e commit f044737

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
apiVersion: v1
2+
kind: ConfigMap
3+
metadata:
4+
name: dns-autoscaler{{ coredns_ordinal_suffix }}
5+
namespace: kube-system
6+
labels:
7+
k8s-app: dns-autoscaler{{ coredns_ordinal_suffix }}
8+
addonmanager.kubernetes.io/mode: Reconcile
9+
data:
10+
linear: '{"preventSinglePointFailure":{{ dns_prevent_single_point_failure }},"coresPerReplica":{{ dns_cores_per_replica }},"nodesPerReplica":{{ dns_nodes_per_replica }},"min":{{ dns_min_replicas }}}'

roles/kubernetes-apps/ansible/vars/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
dns_autoscaler_manifests:
33
- dns-autoscaler-sa.yml.j2
44
- dns-autoscaler.yml.j2
5+
- dns-autoscaler-configmap.yml.j2
56
- dns-autoscaler-clusterrole.yml.j2
67
- dns-autoscaler-clusterrolebinding.yml.j2
78

0 commit comments

Comments
 (0)