Skip to content

Conversation

@alextarasov-spot
Copy link

@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.

2 participants