2021-02-26 01:34:15 +00:00
|
|
|
--- charts-original/values.yaml
|
|
|
|
+++ charts/values.yaml
|
|
|
|
@@ -3,8 +3,8 @@
|
|
|
|
# Declare variables to be passed into your templates.
|
|
|
|
|
|
|
|
image:
|
|
|
|
- repository: coredns/coredns
|
|
|
|
- tag: "1.6.9"
|
|
|
|
+ repository: rancher/hardened-coredns
|
2021-07-19 08:35:26 +00:00
|
|
|
+ tag: "v1.8.3-build20210720"
|
2021-02-26 01:34:15 +00:00
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
replicaCount: 1
|
|
|
|
@@ -34,10 +34,10 @@
|
|
|
|
prometheus.io/port: "9153"
|
|
|
|
|
|
|
|
serviceAccount:
|
|
|
|
- create: false
|
|
|
|
+ create: true
|
|
|
|
# The name of the ServiceAccount to use
|
|
|
|
# If not set and create is true, a name is generated using the fullname template
|
|
|
|
- name:
|
|
|
|
+ name: coredns
|
|
|
|
|
|
|
|
rbac:
|
|
|
|
# If true, create & use RBAC resources
|
|
|
|
@@ -52,7 +52,7 @@
|
|
|
|
isClusterService: true
|
|
|
|
|
|
|
|
# Optional priority class to be used for the coredns pods. Used for autoscaler if autoscaler.priorityClassName not set.
|
|
|
|
-priorityClassName: ""
|
|
|
|
+priorityClassName: "system-cluster-critical"
|
|
|
|
|
|
|
|
# Default zone is what Kubernetes recommends:
|
|
|
|
# https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/#coredns-configmap-options
|
2021-05-27 19:12:25 +00:00
|
|
|
@@ -126,7 +126,13 @@
|
|
|
|
# operator: Equal
|
|
|
|
# value: master
|
|
|
|
# effect: NoSchedule
|
|
|
|
-tolerations: []
|
|
|
|
+tolerations:
|
|
|
|
+- key: "node-role.kubernetes.io/control-plane"
|
|
|
|
+ operator: "Exists"
|
|
|
|
+ effect: "NoSchedule"
|
|
|
|
+- key: "node-role.kubernetes.io/etcd"
|
|
|
|
+ operator: "Exists"
|
|
|
|
+ effect: "NoExecute"
|
|
|
|
|
|
|
|
# https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget
|
|
|
|
podDisruptionBudget: {}
|
2021-07-19 08:35:26 +00:00
|
|
|
@@ -157,7 +163,7 @@
|
|
|
|
# See https://github.com/kubernetes-incubator/cluster-proportional-autoscaler
|
|
|
|
autoscaler:
|
|
|
|
# Enabled the cluster-proportional-autoscaler
|
|
|
|
- enabled: false
|
|
|
|
+ enabled: true
|
|
|
|
|
|
|
|
# Number of cores in the cluster per coredns replica
|
|
|
|
coresPerReplica: 256
|
|
|
|
@@ -165,8 +171,8 @@
|
|
|
|
nodesPerReplica: 16
|
|
|
|
|
|
|
|
image:
|
|
|
|
- repository: k8s.gcr.io/cluster-proportional-autoscaler-amd64
|
|
|
|
- tag: "1.7.1"
|
|
|
|
+ repository: rancher/mirrored-cluster-proportional-autoscaler
|
|
|
|
+ tag: "1.8.3"
|
|
|
|
pullPolicy: IfNotPresent
|
|
|
|
|
|
|
|
# Optional priority class to be used for the autoscaler pods. priorityClassName used if not set.
|
2021-05-27 19:12:25 +00:00
|
|
|
@@ -180,7 +186,13 @@
|
|
|
|
nodeSelector: {}
|
|
|
|
|
|
|
|
# expects input structure as per specification https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.11/#toleration-v1-core
|
|
|
|
- tolerations: []
|
|
|
|
+ tolerations:
|
|
|
|
+ - key: "node-role.kubernetes.io/control-plane"
|
|
|
|
+ operator: "Exists"
|
|
|
|
+ effect: "NoSchedule"
|
|
|
|
+ - key: "node-role.kubernetes.io/etcd"
|
|
|
|
+ operator: "Exists"
|
|
|
|
+ effect: "NoExecute"
|
|
|
|
|
|
|
|
# resources for autoscaler pod
|
|
|
|
resources:
|
|
|
|
@@ -196,3 +208,7 @@
|
2021-02-26 01:34:15 +00:00
|
|
|
## Annotations for the coredns-autoscaler configmap
|
|
|
|
# i.e. strategy.spinnaker.io/versioned: "false" to ensure configmap isn't renamed
|
|
|
|
annotations: {}
|
|
|
|
+k8sApp : "kube-dns"
|
|
|
|
+
|
|
|
|
+global:
|
|
|
|
+ systemDefaultRegistry: ""
|