Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1.17 KB

README.md

File metadata and controls

27 lines (21 loc) · 1.17 KB

Annotation

The Kubernates module is used to deploy the EKS cluster in Amazon. Also creates an autoscaling group in selected accessibility zones

Used modules

Feature

  • Spot or on_demand workers - node-labels=kubernetes.io/lifecycle=normal for on_demand node and node-labels=kubernetes.io/lifecycle=spot for spot node. Your make use it for Node affinity
  • Add arns for additional admins - We set current user to add as admin EKS cluster. Your make add additional admins arn's to variables admin_arns in variables.tf or module parameters in project

Usage

module "kubernetes" {
  depends_on = [module.network]
  source     = "https://github.com/provectus/sak-kubernetes.git"

  environment        = local.environment
  project            = local.project
  availability_zones = var.availability_zones
  cluster_name       = local.cluster_name
  vpc_id             = module.network.vpc_id
  subnets            = module.network.private_subnets
}