Skip to content

CON-34562 - add ocean-right-sizing-controller Helm chart#174

Draft
alextarasov-spot wants to merge 3 commits intomainfrom
CON-34562-ocean-right-sizing-controller
Draft

CON-34562 - add ocean-right-sizing-controller Helm chart#174
alextarasov-spot wants to merge 3 commits intomainfrom
CON-34562-ocean-right-sizing-controller

Conversation

@alextarasov-spot
Copy link
Copy Markdown

@alextarasov-spot alextarasov-spot commented Jun 18, 2025

https://spotinst.atlassian.net/browse/CON-34562

Why

To deliver a standalone solution for Ocean Right-Sizing, we must provision a dedicated Ocean controller with the Ocean autoscaler explicitly disabled. Additionally, the controller should be granted minimal RBAC permissions, scoped strictly to the operations required for right-sizing functionality.

What

  • create a new ocean-right-sizing-controller Helm chart
  • granted minimal RBAC permissions
  • the controller should be “read-only”
  • a cluster with the ocean-right-sizing-controller should not perform autoscaling

How to test

Install Helm chart

helm install ocean-right-sizing-controller ocean-right-sizing-controller --dry-run --namespace spot-system \
--namespace "spot-system" \
--set spotinst.account="act-12f6b1b9" \
--set spotinst.clusterIdentifier=alex-rightsizing-demo \
--set spotinst.token="<TOKEN>" \
--set metrics-server.deployChart=true
  • the ocean-right-sizing-controller installed in the expected NS
  • the controller reports to cluster and heartbeat is active
  • the ocean-vpa is installed
    • ocean-vpa-updater is running
    • ocean-vpa-admission-wwebhook is running
image image

Test Right-Sizing

image

TBD

support ocen-vpa auto update

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant