AWS EKS cluster autoscaler Terraform module

labyrinth labs logo

We help companies build, run, deploy and scale software and infrastructure by embracing the right technologies and principles. Check out our website at https://lablabs.io/


Terraform validation pre-commit

Description

A terraform module to deploy the Cluster Autoscaler on Amazon EKS cluster.

Related Projects

Check out these related projects.

Examples

See Basic example for further information.

Requirements

Name Version
terraform >= 0.12.26, < 0.14.0
aws >= 2.0, < 4.0
helm >= 1.0, < 1.4.0
kubernetes >=1.10.0

Inputs

Name Description Type Default Required
cluster_identity_oidc_issuer The OIDC Identity issuer for the cluster string n/a yes
cluster_identity_oidc_issuer_arn The OIDC Identity issuer ARN for the cluster that can be used to associate IAM roles with a service account string n/a yes
cluster_name The name of the cluster string n/a yes
enabled Variable indicating whether deployment is enabled bool true no
helm_chart_name Helm chart name to be installed string "cluster-autoscaler-chart" no
helm_chart_version Version of the Helm chart string "1.0.3" no
helm_release_name Helm release name string "cluster-autoscaler" no
helm_repo_url Helm repository string "https://kubernetes.github.io/autoscaler" no
k8s_namespace The K8s namespace in which the node-problem-detector service account has been created string "cluster-autoscaler" no
k8s_service_account_name The k8s cluster-autoscaler service account name string "cluster-autoscaler" no
mod_dependency Dependence variable binds all AWS resources allocated by this module, dependent modules reference this variable bool null no
settings Additional settings which will be passed to the Helm chart values, see https://hub.helm.sh/charts/stable/cluster-autoscaler map(any) {} no

Outputs

No output.

Contributing and reporting issues

Feel free to create an issue in this repository if you have questions, suggestions or feature requests.

Validation, linters and pull-requests

We want to provide high quality code and modules. For this reason we are using several pre-commit hooks and GitHub Actions workflow. A pull-request to the master branch will trigger these validations and lints automatically. Please check your code before you will create pull-requests. See pre-commit documentation and GitHub Actions documentation for further details.

License

License

See LICENSE for full details.

Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements.  See the NOTICE file
distributed with this work for additional information
regarding copyright ownership.  The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License.  You may obtain a copy of the License at

  https://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied.  See the License for the
specific language governing permissions and limitations
under the License.