-
Notifications
You must be signed in to change notification settings - Fork 850
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
Add prometheus in helm chart #230
Conversation
Signed-off-by: yeya24 <[email protected]>
Codecov Report
@@ Coverage Diff @@
## master #230 +/- ##
=========================================
Coverage ? 43.64%
=========================================
Files ? 18
Lines ? 685
Branches ? 0
=========================================
Hits ? 299
Misses ? 353
Partials ? 33 Continue to review full report at Codecov.
|
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.
LGTM
regex: (.*) | ||
target_label: pod | ||
replacement: $1 | ||
action: replace |
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.
Maybe we can drop this label. Any idea about it?
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 dont. what about you @cwen0
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.
Maybe in the future, we will provide a multi-node way to deploy controller-manger, so I think it is ok to keep this label.
helm/chaos-mesh/values.yaml
Outdated
@@ -96,6 +96,41 @@ dashboard: | |||
storage: 3Gi | |||
storageClassName: standard | |||
|
|||
prometheus: | |||
create: true |
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.
Can we set the default value to false?
@@ -0,0 +1,95 @@ | |||
apiVersion: apps/v1 |
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.
{{- if .Values.prometheus.create }}
@@ -96,6 +96,41 @@ dashboard: | |||
storage: 3Gi | |||
storageClassName: standard | |||
|
|||
prometheus: |
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.
rename it to monitor
?
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 think prometheus is okay since it is just a single external component.
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 think it's ok too
@@ -0,0 +1,64 @@ | |||
--- |
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.
{{- if .Values.prometheus.create }}
@@ -0,0 +1,19 @@ | |||
apiVersion: v1 |
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.
ditto
Signed-off-by: yeya24 <[email protected]>
Updated. PTAL |
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.
LGTM
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.
LGTM
* add prometheus Signed-off-by: yeya24 <[email protected]>
Signed-off-by: yeya24 [email protected]
What problem does this PR solve?
What is changed and how does it work?
Check List
Tests
Code changes
Side effects
Related changes
Does this PR introduce a user-facing change?: