GoogleContainerTools / GoogleContainerTools/config-sync

Feature Request: Enable VPA for Config Sync Pods on GKE 1.34+

Open
#2,021 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
277
Forks
59
Avg merge
1d 23h
Merged PRs (30d)
26

Description

### Checklist

- [x] I did not find a related open enhancement request.
- [x] I understand that enhancement requests filed in the GitHub repository are by default low priority.
- [x] If this request is time-sensitive, I have submitted a corresponding issue with [GCP support](https://cloud.google.com/support-hub).

### Describe the feature

Description: Config Sync reconciler pods occasionally experience OOMKilled errors when managing large repositories. We previously explored using Vertical Pod Autoscaler (VPA) to automatically right-size these pods, but integration was put on hold due to instability with the metrics-server (a dependency of VPA), specifically regarding availability during scale-to-zero events on Autopilot.

Feature request: Now that the metrics-server availability issue has been resolved in GKE 1.34, we should proceed with enabling VPA support for the Config Sync Reconciler. This will allow the reconciler to dynamically adjust its memory and CPU requests based on real-time usage, preventing OOMKills without requiring manual resource tuning or excessive over-provisioning.

Alternatives considered: We previously focused on static resource increases and runtime detection for Autopilot as a workaround. However, VPA offers a more efficient, long-term solution for handling variable loads.

### Importance

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.