Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/provectus/sak-scaling

ASG and HPA module for SAK project
https://github.com/provectus/sak-scaling

autoscaling aws devops open-source swiss-army-kube

Last synced: 4 days ago
JSON representation

ASG and HPA module for SAK project

Awesome Lists containing this project

README

        

# Scaling

This module is part of Swiss Army Kube project. Check out main repo and contributing guide below.
**[Swiss Army Kube](https://github.com/provectus/swiss-army-kube)**
|
**[Contributing Guide](https://github.com/provectus/swiss-army-kube/blob/master/CONTRIBUTING.md)**

The module installs two kind of autoscaler applications:

- [Cluster Autoscaler](https://github.com/kubernetes/autoscaler) - managing the number of EKS nodes.
- [Horizontal Pod Autoscaler](https://github.com/banzaicloud/hpa-operator) - managing number of deployment replicas.

## Example

```hcl
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

```terraform >= 1.1

```

## 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.