From 532710b77b8bb99851b8073cd9870396399b2f7c Mon Sep 17 00:00:00 2001 From: Stefan Reimer Date: Fri, 5 Mar 2021 14:00:00 +0100 Subject: [PATCH] remove cpu limit for aws-iam-auth, enable cpufs kubelet feature flag --- charts/kubeadm/Chart.yaml | 2 +- charts/kubeadm/templates/KubeletConfiguration.yaml | 1 + charts/kubeadm/templates/aws-iam-authenticator/deployment.yaml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/charts/kubeadm/Chart.yaml b/charts/kubeadm/Chart.yaml index c73bea03..ba8a3471 100644 --- a/charts/kubeadm/Chart.yaml +++ b/charts/kubeadm/Chart.yaml @@ -10,4 +10,4 @@ keywords: - kubeadm maintainers: - name: Quarky9 -kubeVersion: ">= 1.16.0" +kubeVersion: ">= 1.18.0" diff --git a/charts/kubeadm/templates/KubeletConfiguration.yaml b/charts/kubeadm/templates/KubeletConfiguration.yaml index 7002a7fd..442e4bf4 100644 --- a/charts/kubeadm/templates/KubeletConfiguration.yaml +++ b/charts/kubeadm/templates/KubeletConfiguration.yaml @@ -20,6 +20,7 @@ tlsCipherSuites: [TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,TLS_ECDHE_RSA_WITH_AES featureGates: CSIMigrationAWS: true CSIMigrationAWSComplete: true + CustomCPUCFSQuotaPeriod: true {{- end }} kubeReserved: cpu: 50m diff --git a/charts/kubeadm/templates/aws-iam-authenticator/deployment.yaml b/charts/kubeadm/templates/aws-iam-authenticator/deployment.yaml index fe40f3c2..72246428 100644 --- a/charts/kubeadm/templates/aws-iam-authenticator/deployment.yaml +++ b/charts/kubeadm/templates/aws-iam-authenticator/deployment.yaml @@ -137,7 +137,7 @@ spec: cpu: 10m limits: memory: 20Mi - cpu: 100m + #cpu: 100m volumeMounts: - name: config