Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(cluster-autoscaler): add cluster autoscaler for aws #165

Merged
merged 3 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions cluster-autoscaler-aws/cluster-autoscaler-aws.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: <CLUSTER_NAME>-cluster-autoscaler-aws-components
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: '100'
finalizers:
- resources-finalizer.argocd.argoproj.io
spec:
project: default
source:
repoURL: <GITOPS_REPO_URL>
path: <REGISTRY_PATH>/components/cluster-autoscaler-aws
targetRevision: HEAD
destination:
name: in-cluster
namespace: kube-system
syncPolicy:
automated:
prune: true
selfHeal: true
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: <CLUSTER_NAME>-cluster-autoscaler-aws
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: '20'
mrsimonemms marked this conversation as resolved.
Show resolved Hide resolved
kubefirst.konstruct.io/application-name: cluster-autoscaler-aws
kubefirst.konstruct.io/source: catalog-templates
spec:
project: <PROJECT>
source:
repoURL: https://kubernetes.github.io/autoscaler
targetRevision: 9.37.0
chart: cluster-autoscaler
helm:
releaseName: cluster-autoscaler-aws
values: |
autoDiscovery:
clusterName: <CLUSTER_NAME>
awsRegion: <CLOUD_REGION>
cloudProvider: aws
rbac:
serviceAccount:
annotations:
eks.amazonaws.com/role-arn : arn:aws:iam::<AWS_ACCOUNT_ID>:role/cluster-autoscaler-<CLUSTER_NAME>
create: true
name: "cluster-autoscaler"
destination:
name: <CLUSTER_DESTINATION>
namespace: kube-system
syncPolicy:
automated:
prune: true
selfHeal: true
9 changes: 8 additions & 1 deletion index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,18 @@ apps:
description: "Cilium is an open-source, cloud-native tool for managing, securing, and monitoring network connectivity between workloads, powered by the innovative Kernel technology eBPF."
category: Observability

- name: cluster-autoscaler-aws
displayName: AWS Cluster Autoscaler
website: "https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler"
imageUrl: "https://raw.githubusercontent.com/kubefirst/gitops-catalog/main/logos/cluster-autoscaler.svg"
description: "Configured for clusters running on AWS. Cluster Autoscaler is a tool that automatically adjusts the size of the Kubernetes cluster when required."
category: Architecture

- name: cluster-autoscaler-civo
displayName: Civo Cluster Autoscaler
website: "https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler"
imageUrl: "https://raw.githubusercontent.com/kubefirst/gitops-catalog/main/logos/cluster-autoscaler.svg"
description: "Configured for clusters running on Civo. Cluster Autoscaler is a tool that automatically adjusts the size of the Kubernetes cluster when one of the following conditions is true: 1) there are pods that failed to run in the cluster due to insufficient resources, or 2) there are nodes in the cluster that have been underutilized for an extended period of time and their pods can be placed on other existing nodes."
description: "Configured for clusters running on Civo. Cluster Autoscaler is a tool that automatically adjusts the size of the Kubernetes cluster when required."
category: Architecture

- name: datadog-agent
Expand Down
Loading