Staging costs too much. Right-size the node group. Right-size the staging node group
The agent is working on the task. It opens a pull request when it is done. Opened by the agent for the task: Staging costs too much. Right-size the node group.
- read CloudWatch, 14 days of node metrics CPU p95 23%, memory p95 41%
- read envs/staging/eks.tf 6 nodes, m6i.2xlarge
- edit envs/staging/eks.tf - instance_types = ["m6i.2xlarge"]+ instance_types = ["m7i.xlarge"]- desired_size = 6+ desired_size = 4
- run terraform plan 0 to add, 1 to change, 0 to destroy
- run tflint, checkov passed
- open pull request #214 Right-size the staging node group
Approval gate. The agent cannot merge its own pull request. Waiting for a maintainer. The agent cannot merge its own pull request. Approved by you. CI takes it from here.
- merge #214, approved by you
- run CI applies the reviewed plan 1 changed
- done Staging runs on 4 nodes, m7i.xlarge about $1,300 a month less at on-demand prices
Ready