This is an automated email from the ASF dual-hosted git repository. shahar1 pushed a commit to branch gha-arc-rebase in repository https://gitbox.apache.org/repos/asf/airflow-ci-infra.git
commit 0c05962097c4c8a501fcb6eaf5bde410ade3403a Author: Hussein Awala <[email protected]> AuthorDate: Fri Jul 21 03:08:35 2023 +0200 Install and configure the cluster auto scaler --- helm/helmfile.yaml | 12 +++++++++++- helm/values/cluster-autoscaler.yaml | 13 +++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) diff --git a/helm/helmfile.yaml b/helm/helmfile.yaml index b053878..74d4be5 100644 --- a/helm/helmfile.yaml +++ b/helm/helmfile.yaml @@ -4,6 +4,8 @@ repositories: url: https://charts.jetstack.io - name: actions-runner-controller url: https://actions-runner-controller.github.io/actions-runner-controller + - name: autoscaler + url: https://kubernetes.github.io/autoscaler releases: - name: cluster-config @@ -18,9 +20,17 @@ releases: values: - ./values/cert-manager.yaml + # https://github.com/kubernetes/autoscaler/tree/master/charts/cluster-autoscaler + - name: autoscaler + chart: autoscaler/cluster-autoscaler + namespace: infra + version: 9.29.1 + values: + - ./values/cluster-autoscaler.yaml + - name: actions-runner-controller chart: actions-runner-controller/actions-runner-controller namespace: ci version: 0.23.3 values: - - ./values/actions-runner-controller.yaml \ No newline at end of file + - ./values/actions-runner-controller.yaml diff --git a/helm/values/cluster-autoscaler.yaml b/helm/values/cluster-autoscaler.yaml new file mode 100644 index 0000000..8328c96 --- /dev/null +++ b/helm/values/cluster-autoscaler.yaml @@ -0,0 +1,13 @@ +cloudProvider: aws +awsRegion: us-east-2 + +autoDiscovery: + clusterName: "airflow" + +rbac: + create: true + serviceAccount: + create: true + name: "cluster-autoscaler" + annotations: + eks.amazonaws.com/role-arn: arn:aws:iam::827901512104:role/eks-autoscaler-role
