From 6df1941922f60c3f48dac41d6ceb1e027fd42836 Mon Sep 17 00:00:00 2001 From: Brad Davidson Date: Thu, 7 Oct 2021 14:48:53 -0700 Subject: [PATCH] Extend autoscaler health check times Signed-off-by: Brad Davidson --- .../generated-changes/patch/Chart.yaml.patch | 4 +-- .../generated-changes/patch/values.yaml.patch | 34 ++++++++++++------- packages/rke2-coredns/package.yaml | 4 +-- 3 files changed, 26 insertions(+), 16 deletions(-) diff --git a/packages/rke2-coredns/generated-changes/patch/Chart.yaml.patch b/packages/rke2-coredns/generated-changes/patch/Chart.yaml.patch index f5bf05c..4d40f2d 100644 --- a/packages/rke2-coredns/generated-changes/patch/Chart.yaml.patch +++ b/packages/rke2-coredns/generated-changes/patch/Chart.yaml.patch @@ -18,5 +18,5 @@ sources: - https://github.com/coredns/coredns type: application --version: 1.16.2 -+version: 1.16.201-build20211006 +-version: 1.16.3 ++version: 1.16.301-build20211006 diff --git a/packages/rke2-coredns/generated-changes/patch/values.yaml.patch b/packages/rke2-coredns/generated-changes/patch/values.yaml.patch index 53e248d..10b2885 100644 --- a/packages/rke2-coredns/generated-changes/patch/values.yaml.patch +++ b/packages/rke2-coredns/generated-changes/patch/values.yaml.patch @@ -9,9 +9,9 @@ + repository: rancher/hardened-coredns + tag: "v1.8.5-build20211006" pullPolicy: IfNotPresent - - replicaCount: 1 -@@ -69,10 +69,10 @@ + ## Optionally specify an array of imagePullSecrets. + ## Secrets must be manually created in the namespace. +@@ -75,10 +75,10 @@ annotations: {} serviceAccount: @@ -24,7 +24,7 @@ annotations: {} rbac: -@@ -88,7 +88,7 @@ +@@ -94,7 +94,7 @@ isClusterService: true # Optional priority class to be used for the coredns pods. Used for autoscaler if autoscaler.priorityClassName not set. @@ -33,7 +33,7 @@ # Default zone is what Kubernetes recommends: # https://kubernetes.io/docs/tasks/administer-cluster/dns-custom-nameservers/#coredns-configmap-options -@@ -170,7 +170,8 @@ +@@ -176,7 +176,8 @@ # Node labels for pod assignment # Ref: https://kubernetes.io/docs/user-guide/node-selection/ @@ -43,7 +43,7 @@ # 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 @@ +@@ -185,7 +186,13 @@ # operator: Equal # value: master # effect: NoSchedule @@ -58,7 +58,7 @@ # https://kubernetes.io/docs/tasks/run-application/configure-pdb/#specifying-a-poddisruptionbudget podDisruptionBudget: {} -@@ -227,7 +234,7 @@ +@@ -233,7 +240,7 @@ # See https://github.com/kubernetes-incubator/cluster-proportional-autoscaler autoscaler: # Enabled the cluster-proportional-autoscaler @@ -67,7 +67,7 @@ # Number of cores in the cluster per coredns replica coresPerReplica: 256 -@@ -243,8 +250,8 @@ +@@ -249,8 +256,8 @@ preventSinglePointFailure: true image: @@ -76,9 +76,9 @@ + 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 @@ + ## Optionally specify an array of imagePullSecrets. + ## Secrets must be manually created in the namespace. +@@ -267,19 +274,26 @@ # Node labels for pod assignment # Ref: https://kubernetes.io/docs/user-guide/node-selection/ @@ -109,7 +109,17 @@ # Options for autoscaler configmap configmap: -@@ -287,3 +301,21 @@ +@@ -291,11 +305,28 @@ + livenessProbe: + enabled: true + initialDelaySeconds: 10 +- periodSeconds: 5 +- timeoutSeconds: 5 ++ periodSeconds: 30 ++ timeoutSeconds: 10 + failureThreshold: 3 + successThreshold: 1 +- deployment: enabled: true name: "" diff --git a/packages/rke2-coredns/package.yaml b/packages/rke2-coredns/package.yaml index ba69e16..fd4f196 100644 --- a/packages/rke2-coredns/package.yaml +++ b/packages/rke2-coredns/package.yaml @@ -1,4 +1,4 @@ -url: https://github.com/coredns/helm/releases/download/coredns-1.16.2/coredns-1.16.2.tgz -packageVersion: 09 +url: https://github.com/coredns/helm/releases/download/coredns-1.16.3/coredns-1.16.3.tgz +packageVersion: 01 # This repository does not use releaseCandidateVersions, so you can leave this as 00. releaseCandidateVersion: 00