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

ArgoCD + Terraform + Cognito - Challenges,Issues, and Ideas #639

Open
renanmb opened this issue Mar 27, 2023 · 1 comment
Open

ArgoCD + Terraform + Cognito - Challenges,Issues, and Ideas #639

renanmb opened this issue Mar 27, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@renanmb
Copy link

renanmb commented Mar 27, 2023

Following from Slack as Apoorva Kulkarni suggested (https://kubeflow.slack.com/archives/CKBA5D0MU/p1679939808948949?thread_ts=1679847948.456869&cid=CKBA5D0MU)
cc: @Isaac Mosquera (AWS), @Alex Lines

While exploring I came across challenges with Gitops while trying to use Terraform + ArgoCD.
The reasoning is to work around existing issues.

Also, even though Terraform is awesome as IaC for certain resources, it can be terrible for others.
Therefore, Terraform + ArgoCD has a beautiful harmony. Article: Terraform and ArgoCD in beautiful harmony

  • Terraform to manage Cloud Provider services (Network, DNS, Compute, etc).
  • ArgoCD to manage Kubernetes deployments (EKS addons is a start), typically packaged as different Helm charts, with dynamic properties defined as Helm values.

Other challenge has been managing the ASG (scale up or scale down events from zero)
Even though it is possible to set CloudWatch alarm for a scale up or scale down event in the ASG using the Step Scale Policies. We can only scale up from 0 running instances using the current metrics.
The challenge is exposing iddleness from within kubeflow so it can scale down to zero instances.

Why this matters ?
Automated resource utilization.

In Summary:

  • Need a work around Terraform Cognito User Pool using IaC.
  • Need ArgoCD to manage certain things.
  • Need a way to extract a metric from kubeflow for iddleness so we can apply to ASG Scale Policies.
@renanmb renanmb added the enhancement New feature or request label Mar 27, 2023
@infa-amchandr
Copy link

infa-amchandr commented Mar 29, 2023

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants