aws-ia / terraform-aws-eks-blueprints-addons

Terraform module which provisions addons on Amazon EKS clusters
https://aws-ia.github.io/terraform-aws-eks-blueprints-addons/main/
Apache License 2.0
267 stars 127 forks source link

Slow workload creation with VPA addon enabled. #410

Closed joivo closed 1 month ago

joivo commented 2 months ago

Description

When using the VPA addon in the aws-ia/terraform-aws-eks-blueprints-addons module, workload creation is significantly slower than expected. This can impact the overall deployment time and user experience. Creation of Deployment or Statefulsets are taking > ~30s for the workload to be available in the API server (pod in pending state).

Reproduction:

  1. Configure your AWS credentials and other necessary environment variables.
  2. Enable the the VPA addon in the desired namespace.
  3. Run terraform init and terraform apply to deploy the EKS cluster with VPA enabled.
  4. Observe the time it takes for workloads to be created.

Expected behavior: Workloads should be created within a reasonable timeframe, similar to deployments without VPA.

Actual behavior: Workload creation is taking significantly longer than expected, even for simple workloads.

Versions:

Terminal Output Screenshot:

image

Additional context:

github-actions[bot] commented 1 month ago

This issue has been automatically marked as stale because it has been open 30 days with no activity. Remove stale label or comment or this issue will be closed in 10 days

github-actions[bot] commented 1 month ago

Issue closed due to inactivity.