Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
springboot-k8s-example
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
戴巧
springboot-k8s-example
Commits
6ee8550d
Commit
6ee8550d
authored
Aug 11, 2020
by
卢浩元
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整servicemonitor监控集成labels
parent
7ba513a1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
servicemonitor.yaml
charts/templates/servicemonitor.yaml
+1
-1
No files found.
charts/templates/servicemonitor.yaml
View file @
6ee8550d
...
...
@@ -3,7 +3,7 @@ kind: ServiceMonitor
metadata
:
name
:
{{
template "charts.fullname" .
}}
labels
:
release
:
k8s-example
#Prometheus所选择的标签
release
:
prometheus-operator
#Prometheus所选择的标签
spec
:
namespaceSelector
:
#监控的pod所在名称空间
matchNames
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment