Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix priority class of the proactive scaler pods #4768

Merged

Conversation

hugares
Copy link
Contributor

@hugares hugares commented Oct 21, 2024

This priority class is meant to be lower that priority class used by the tenant pods. The original change created a default class with priority value of 0 and scaler pods used a class with priority of -1.

The problem is all the tenants pods get assigned to sandbox-users-pods priority class which has a value of -3, causing the scaler pods to not be evicted from the node when resource are needed.

We are planning to remove sandbox so this sandbox-users-pods priority class will be deleted eventually but in the meantime, set scaler pods to -10.

Also rename the 2 priority classes so their name are more meaningful.

KFLUXINFRA-889

This priority class is meant to be lower that priority class used by the
tenant pods. The original change created a default class with priority
value of 0 and scaler pods used a class with priority of -1.

The problem is all the tenants pods get assigned to sandbox-users-pods
priority class which has a value of -3, causing the scaler pods to not
be evicted from the node when resource are needed.

We are planning to remove sandbox so this sandbox-users-pods priority
class will be deleted eventually but in the meantime, set scaler pods to
-10.

Also rename the 2 priority classes so their name are more meaningful.

KFLUXINFRA-889

Signed-off-by: Hugo Ares <[email protected]>
Copy link
Contributor

@manish-jangra manish-jangra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Copy link

openshift-ci bot commented Oct 22, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hugares, manish-jangra

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [hugares,manish-jangra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-merge-bot openshift-merge-bot bot merged commit a209dc5 into redhat-appstudio:main Oct 22, 2024
6 checks passed
@hugares hugares deleted the hares-fix-proactive-scaler branch October 22, 2024 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants