Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/provectus/sak-scaling
- Owner: provectus
- Created: 2021-01-21T17:36:55.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-06-09T14:03:58.000Z (over 1 year ago)
- Last Synced: 2024-03-26T11:17:31.947Z (8 months ago)
- Topics: autoscaling, aws, devops, open-source, swiss-army-kube
- Language: HCL
- Homepage:
- Size: 30.3 KB
- Stars: 0
- Watchers: 86
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.