Skip to content

hs-moosa/terraform-kubernetes-cluster-autoscaler-aws

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform module for Kubernetes Cluster Autoscaler on AWS

This module deploys Cluster Autoscaler for AWS to your Kubernetes cluster.

Usage

provider "kubernetes" {
  # your kubernetes provider config
}

provider "aws" {
  # your aws provider config
}

data "aws_iam_role" "kubernetes_worker_node" {
  name = "kube-clb-main-wg-primary"
}

module "kubernetes_dashboard" {
  source = "cookielab/cluster-autoscaler-aws/kubernetes"
  version = "0.9.0"

  aws_iam_role_for_policy = data.aws_iam_role.kubernetes_worker_node.name

  asg_tags = [
    "k8s.io/cluster-autoscaler/enabled",
    "k8s.io/cluster-autoscaler/${var.kubernetes_cluster_name}",
  ]

  kubernetes_deployment_image_tag = "v1.14.7" # v1.14.x is for kubernetes 1.14.x
}

About

Terraform module for deploying Cluster Autoscaler for AWS to k8s cluster

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HCL 100.0%