mirror of https://git.rancher.io/rke2-charts
134 lines
3.5 KiB
Diff
134 lines
3.5 KiB
Diff
--- 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.8.4"
|
|
+ repository: rancher/hardened-coredns
|
|
+ tag: "v1.8.5-build20211006"
|
|
pullPolicy: IfNotPresent
|
|
|
|
replicaCount: 1
|
|
@@ -69,10 +69,10 @@
|
|
annotations: {}
|
|
|
|
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"
|
|
annotations: {}
|
|
|
|
rbac:
|
|
@@ -88,7 +88,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
|
|
@@ -170,7 +170,8 @@
|
|
|
|
# Node labels for pod assignment
|
|
# Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
-nodeSelector: {}
|
|
+nodeSelector:
|
|
+ kubernetes.io/os: linux
|
|
|
|
# expects input structure as per specification https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.11/#toleration-v1-core
|
|
# for example:
|
|
@@ -179,7 +180,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: {}
|
|
@@ -227,7 +234,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
|
|
@@ -243,8 +250,8 @@
|
|
preventSinglePointFailure: true
|
|
|
|
image:
|
|
- repository: k8s.gcr.io/cluster-proportional-autoscaler-amd64
|
|
- tag: "1.8.1"
|
|
+ repository: rancher/hardened-cluster-autoscaler
|
|
+ tag: "v1.8.5-build20211006"
|
|
pullPolicy: IfNotPresent
|
|
|
|
# Optional priority class to be used for the autoscaler pods. priorityClassName used if not set.
|
|
@@ -255,19 +262,26 @@
|
|
|
|
# Node labels for pod assignment
|
|
# Ref: https://kubernetes.io/docs/user-guide/node-selection/
|
|
- nodeSelector: {}
|
|
+ nodeSelector:
|
|
+ kubernetes.io/os: linux
|
|
|
|
# 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:
|
|
requests:
|
|
cpu: "20m"
|
|
- memory: "10Mi"
|
|
+ memory: "20Mi"
|
|
limits:
|
|
cpu: "20m"
|
|
- memory: "10Mi"
|
|
+ memory: "20Mi"
|
|
|
|
# Options for autoscaler configmap
|
|
configmap:
|
|
@@ -287,3 +301,21 @@
|
|
deployment:
|
|
enabled: true
|
|
name: ""
|
|
+
|
|
+k8sApp : "kube-dns"
|
|
+
|
|
+nodelocal:
|
|
+ enabled: false
|
|
+ ip_address: "169.254.20.10"
|
|
+ ipvs: false
|
|
+ image:
|
|
+ repository: rancher/hardened-dns-node-cache
|
|
+ tag: "1.21.1-build20211006"
|
|
+ initimage:
|
|
+ repository: rancher/hardened-dns-node-cache
|
|
+ tag: "1.21.1-build20211006"
|
|
+ nodeSelector:
|
|
+ kubernetes.io/os: linux
|
|
+
|
|
+global:
|
|
+ systemDefaultRegistry: ""
|