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

Use Kubernetes Configmap to pass the power model parameters to PEAKS plugin #45

Open
knarayan opened this issue Jun 27, 2024 · 4 comments

Comments

@knarayan
Copy link
Collaborator

PEAKS plugin requires the power model parameters for each cluster node configured with it.

However, the power model parameters are subjected to change (e.g., increase in the number of CPUs on a node result in change in the power model [ utilization vs. power consumption ]) over time.

Hence we need a mechanism to pass the updated power model parameters of any cluster node.

@knarayan
Copy link
Collaborator Author

Configmap can be used to address this issue (a less preferred alternative is to use webhook).

@fali007
Copy link
Contributor

fali007 commented Sep 20, 2024

Plan

  1. Mount a configmap to scheduler pod as volume.
  2. Configmap contains power model in json.
  3. Read config map in power model function and unmarshal to json.

@knarayan
Copy link
Collaborator Author

Plan

1. Mount a configmap to scheduler pod as volume.

2. Configmap contains power model in json.

3. Read config map in power model function and unmarshal to json.

@fali007 You may want to referrer to the issue #32 to configure kind cluster for testing your changes.

@knarayan
Copy link
Collaborator Author

Associated PR: sustainable-computing-io/scheduler-plugins#9

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

No branches or pull requests

2 participants