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

Watch configSet file and update config for recommendation on the fly. #348

Merged
merged 1 commit into from
Jun 20, 2022

Conversation

yufeiyu
Copy link
Contributor

@yufeiyu yufeiyu commented Jun 6, 2022

What type of PR is this?

feature

What this PR does / why we need it:

Watch configSet file and update config for recommendation on the fly.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

@qmhu
Copy link
Member

qmhu commented Jun 6, 2022

Prometheus use a sidecar to reload configmap change, can we use it?

@github-actions
Copy link
Contributor

github-actions bot commented Jun 6, 2022

🎉 Successfully Build Images.

Overview: https://finops.coding.net/public-artifacts/gocrane/crane/packages

Image Pull Command
crane-agent:pr-348-4022f5a docker pull finops-docker.pkg.coding.net/gocrane/crane/crane-agent:pr-348-4022f5a
dashboard:pr-348-4022f5a docker pull finops-docker.pkg.coding.net/gocrane/crane/dashboard:pr-348-4022f5a
metric-adapter:pr-348-4022f5a docker pull finops-docker.pkg.coding.net/gocrane/crane/metric-adapter:pr-348-4022f5a
craned:pr-348-4022f5a docker pull finops-docker.pkg.coding.net/gocrane/crane/craned:pr-348-4022f5a

@zsnmwy zsnmwy linked an issue Jun 6, 2022 that may be closed by this pull request
@qmhu
Copy link
Member

qmhu commented Jun 15, 2022

@yufeiyu we need to upgrade recommendation-config to the crane-config which include multiple type configs for different functions, like prometheus-config, if so, the configmap-loader seems more suitable for us.

@yufeiyu yufeiyu force-pushed the feat/watch_recommendationConfigFile branch from ebeb4c7 to 4022f5a Compare June 19, 2022 12:40
@yufeiyu yufeiyu merged commit 8ca574c into gocrane:main Jun 20, 2022
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.

Dynamic reload recommendation config when configmap changed
2 participants