From f55c238013d4efdf6c26047d5fd96033483440fd Mon Sep 17 00:00:00 2001 From: nihaldivyam Date: Thu, 1 Feb 2024 19:56:37 +0530 Subject: [PATCH] Upgrade autoscaler --- argocd-helm-charts/cluster-autoscaler/Chart.lock | 6 +++--- argocd-helm-charts/cluster-autoscaler/Chart.yaml | 2 +- .../charts/cluster-autoscaler/Chart.yaml | 4 ++-- .../charts/cluster-autoscaler/README.md | 4 ++-- .../cluster-autoscaler/templates/deployment.yaml | 10 ---------- .../charts/cluster-autoscaler/values.yaml | 4 ++-- 6 files changed, 10 insertions(+), 20 deletions(-) diff --git a/argocd-helm-charts/cluster-autoscaler/Chart.lock b/argocd-helm-charts/cluster-autoscaler/Chart.lock index 061e76b16..049dc2a45 100644 --- a/argocd-helm-charts/cluster-autoscaler/Chart.lock +++ b/argocd-helm-charts/cluster-autoscaler/Chart.lock @@ -1,6 +1,6 @@ dependencies: - name: cluster-autoscaler repository: https://kubernetes.github.io/autoscaler - version: 9.33.0 -digest: sha256:a016e8218ae467566991fdfd45c8f474797688da0a319aac1430ffd84ad90df9 -generated: "2023-12-05T13:53:12.82554443+05:30" + version: 9.34.1 +digest: sha256:ec994920e18684941d721ad7eb458c5c2094da28ddb1ca5dab27d6280607d1de +generated: "2024-02-01T19:54:08.843153852+05:30" diff --git a/argocd-helm-charts/cluster-autoscaler/Chart.yaml b/argocd-helm-charts/cluster-autoscaler/Chart.yaml index 69e0d92d8..fdb360927 100644 --- a/argocd-helm-charts/cluster-autoscaler/Chart.yaml +++ b/argocd-helm-charts/cluster-autoscaler/Chart.yaml @@ -3,6 +3,6 @@ name: cluster-autoscaler version: 1.21.1 dependencies: - name: cluster-autoscaler - version: 9.33.0 + version: 9.34.1 repository: https://kubernetes.github.io/autoscaler #repository: "oci://ghcr.io/Obmondo" diff --git a/argocd-helm-charts/cluster-autoscaler/charts/cluster-autoscaler/Chart.yaml b/argocd-helm-charts/cluster-autoscaler/charts/cluster-autoscaler/Chart.yaml index 70e33ee60..993846df5 100644 --- a/argocd-helm-charts/cluster-autoscaler/charts/cluster-autoscaler/Chart.yaml +++ b/argocd-helm-charts/cluster-autoscaler/charts/cluster-autoscaler/Chart.yaml @@ -1,5 +1,5 @@ apiVersion: v2 -appVersion: 1.27.2 +appVersion: 1.28.2 description: Scales Kubernetes worker nodes within autoscaling groups. home: https://github.com/kubernetes/autoscaler icon: https://github.com/kubernetes/kubernetes/raw/master/logo/logo.png @@ -10,4 +10,4 @@ name: cluster-autoscaler sources: - https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler type: application -version: 9.33.0 +version: 9.34.1 diff --git a/argocd-helm-charts/cluster-autoscaler/charts/cluster-autoscaler/README.md b/argocd-helm-charts/cluster-autoscaler/charts/cluster-autoscaler/README.md index b9723be65..9bc2619ca 100644 --- a/argocd-helm-charts/cluster-autoscaler/charts/cluster-autoscaler/README.md +++ b/argocd-helm-charts/cluster-autoscaler/charts/cluster-autoscaler/README.md @@ -387,7 +387,7 @@ vpa: | azureTenantID | string | `""` | Azure tenant where the resources are located. Required if `cloudProvider=azure` | | azureUseManagedIdentityExtension | bool | `false` | Whether to use Azure's managed identity extension for credentials. If using MSI, ensure subscription ID, resource group, and azure AKS cluster name are set. You can only use one authentication method at a time, either azureUseWorkloadIdentityExtension or azureUseManagedIdentityExtension should be set. | | azureUseWorkloadIdentityExtension | bool | `false` | Whether to use Azure's workload identity extension for credentials. See the project here: https://github.com/Azure/azure-workload-identity for more details. You can only use one authentication method at a time, either azureUseWorkloadIdentityExtension or azureUseManagedIdentityExtension should be set. | -| azureVMType | string | `"AKS"` | Azure VM type. | +| azureVMType | string | `"vmss"` | Azure VM type. | | cloudConfigPath | string | `""` | Configuration file for cloud provider. | | cloudProvider | string | `"aws"` | The cloud provider where the autoscaler runs. Currently only `gce`, `aws`, `azure`, `magnum` and `clusterapi` are supported. `aws` supported for AWS. `gce` for GCE. `azure` for Azure AKS. `magnum` for OpenStack Magnum, `clusterapi` for Cluster API. | | clusterAPICloudConfigPath | string | `"/etc/kubernetes/mgmt-kubeconfig"` | Path to kubeconfig for connecting to Cluster API Management Cluster, only used if `clusterAPIMode=kubeconfig-kubeconfig or incluster-kubeconfig` | @@ -413,7 +413,7 @@ vpa: | image.pullPolicy | string | `"IfNotPresent"` | Image pull policy | | image.pullSecrets | list | `[]` | Image pull secrets | | image.repository | string | `"registry.k8s.io/autoscaling/cluster-autoscaler"` | Image repository | -| image.tag | string | `"v1.27.2"` | Image tag | +| image.tag | string | `"v1.28.2"` | Image tag | | kubeTargetVersionOverride | string | `""` | Allow overriding the `.Capabilities.KubeVersion.GitVersion` check. Useful for `helm template` commands. | | kwokConfigMapName | string | `"kwok-provider-config"` | configmap for configuring kwok provider | | magnumCABundlePath | string | `"/etc/kubernetes/ca-bundle.crt"` | Path to the host's CA bundle, from `ca-file` in the cloud-config file. | diff --git a/argocd-helm-charts/cluster-autoscaler/charts/cluster-autoscaler/templates/deployment.yaml b/argocd-helm-charts/cluster-autoscaler/charts/cluster-autoscaler/templates/deployment.yaml index 113d92971..ccbe4353e 100644 --- a/argocd-helm-charts/cluster-autoscaler/charts/cluster-autoscaler/templates/deployment.yaml +++ b/argocd-helm-charts/cluster-autoscaler/charts/cluster-autoscaler/templates/deployment.yaml @@ -166,11 +166,6 @@ spec: secretKeyRef: key: VMType name: {{ default (include "cluster-autoscaler.fullname" .) .Values.secretKeyRefNameOverride }} - - name: AZURE_CLUSTER_NAME - valueFrom: - secretKeyRef: - key: ClusterName - name: {{ default (include "cluster-autoscaler.fullname" .) .Values.secretKeyRefNameOverride }} {{- if .Values.azureUseWorkloadIdentityExtension }} - name: ARM_USE_WORKLOAD_IDENTITY_EXTENSION value: "true" @@ -193,11 +188,6 @@ spec: secretKeyRef: key: ClientSecret name: {{ default (include "cluster-autoscaler.fullname" .) .Values.secretKeyRefNameOverride }} - - name: AZURE_NODE_RESOURCE_GROUP - valueFrom: - secretKeyRef: - key: NodeResourceGroup - name: {{ default (include "cluster-autoscaler.fullname" .) .Values.secretKeyRefNameOverride }} {{- end }} {{- else if eq .Values.cloudProvider "exoscale" }} - name: EXOSCALE_API_KEY diff --git a/argocd-helm-charts/cluster-autoscaler/charts/cluster-autoscaler/values.yaml b/argocd-helm-charts/cluster-autoscaler/charts/cluster-autoscaler/values.yaml index b5f2c8916..15e3177a1 100644 --- a/argocd-helm-charts/cluster-autoscaler/charts/cluster-autoscaler/values.yaml +++ b/argocd-helm-charts/cluster-autoscaler/charts/cluster-autoscaler/values.yaml @@ -94,7 +94,7 @@ azureUseManagedIdentityExtension: false azureUseWorkloadIdentityExtension: false # azureVMType -- Azure VM type. -azureVMType: "AKS" +azureVMType: "vmss" # cloudConfigPath -- Configuration file for cloud provider. cloudConfigPath: "" @@ -222,7 +222,7 @@ image: # image.repository -- Image repository repository: registry.k8s.io/autoscaling/cluster-autoscaler # image.tag -- Image tag - tag: v1.27.2 + tag: v1.28.2 # image.pullPolicy -- Image pull policy pullPolicy: IfNotPresent ## Optionally specify an array of imagePullSecrets.