Skip to content

ASG and HPA module for SAK project

Notifications You must be signed in to change notification settings

provectus/sak-scaling

Repository files navigation

Scaling

This module is part of Swiss Army Kube project. Check out main repo and contributing guide below. Swiss Army Kube | Contributing Guide

The module installs two kind of autoscaler applications:

Example

module scaling {
  source          = "github.com/provectus/swiss-army-kube.git/modules/scaling"
  cluster_name    = module.eks.cluster_id
  argocd          = module.argocd.state
  cluster_version = "1.22"
  namespace       = "kube-system"
}

Requirements

Providers

Name Version
aws >= 3.0, < 4.0
helm >= 1.0, < 2.0
kubernetes >= 1.11
local >= 2.1.0

Inputs

Name Description Type Default Required
argocd A set of values for enabling deployment through ArgoCD map(string) {} no
cluster_autoscaler_chart_version Version of Cluster Autoscaler chart string "7.2.2" no
cluster_autoscaler_conf A set of parameters to pass to Cluster Autoscaler Helm chart (see: https://github.com/kubernetes/autoscaler) map {} no
cluster_autoscaler_enabled Whether to deploy Cluster Autoscaler chart bool true no
cluster_name The name of the cluster the charts will be deployed to string n/a yes
hpa_chart_version Version of Horizontal Pod Autoscaler chart string "0.2.4" no
hpa_conf A set of parameters to pass to Horizontal Pod Autoscaler Helm chart (see: https://github.com/banzaicloud/hpa-operator) map {} no
hpa_enabled Whether to deploy Horizontal Pod Autoscaler chart bool true no
module_depends_on A list of explicit dependencies for the module list [] no
namespace A name of the existing namespace string "kube-system" no
namespace_name A name of namespace for creating string "scaling" no

Outputs

No output.