-
Notifications
You must be signed in to change notification settings - Fork 86
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
addon for prometheus in openshift 3.7 #51
base: master
Are you sure you want to change the base?
Conversation
cc @jorgemoralespou as its based on your work |
@durandom there's now the ability to remove an add-on easily by creating an xxx.addon.remove file with instructions to delete the add-on. I still need to update the ones I created. With regards to the differences to the 3.6 version, are they all in the yaml files or is it also in the install process? |
I also need to install the node-exporter.
|
prometheus for openshift 3.7
I've added the |
@jorgemoralespou does this look good to you now? |
I'm still not so sure on wether a new addon is actually needed. @praveenkumar are there discussions on executing shell scripts in the |
Check minishift/minishift#1783 but we are not going to have bash script execution support in the addon. |
Should we need to keep the addon working for 3.6 when minishift has already moved to 3.7? |
maybe not. I'll create a new PR to update your original addon to be working with 3.7 then |
We have not moved to 3.7 yet. PR is there minishift/minishift#1808 but getting some issue. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The addon name is "prometheus-3.7", shouldn't it be just "prometheus"? I saw that we already have a "prometheus" add-on, so why is this required as a separate add-on i.e. why we can update the existing "prometheus" add-on?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm still not so sure on wether a new addon is actually needed.
But I only see a way to move this into the original addon, by moving some logic out of the .addon file and requiring the user to run a script after installation, which is a convenience degradation?!
I see. @jorgemoralespou are you ok with this?
To deploy prometheus do: | ||
|
||
``` | ||
minishift addon apply prometheus --addon-env prometheus_namespace=kube-system |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add-on names are decided from the directory names of the add-on, so the name of the add-on for this PR is prometheus-3.7
. But the readme says that the name is prometheus
. So I am little confused.
any updates? |
fixes #50 prometheus for openshift 3.7