Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
system-charts
Project
Overview
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Rancher商店
system-charts
Commits
c783beec
Commit
c783beec
authored
May 08, 2019
by
orangedeng
Committed by
Alena Prokharchyk
May 09, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
The node exporter should be listening 0.0.0.0 instead of pod ip
Fix the issue that node exporter crash when deploying into the node without internal ip.
parent
4b535b05
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
daemonset.yaml
...ring/v0.0.3/charts/exporter-node/templates/daemonset.yaml
+1
-6
No files found.
charts/rancher-monitoring/v0.0.3/charts/exporter-node/templates/daemonset.yaml
View file @
c783beec
...
...
@@ -24,7 +24,7 @@ spec:
-
name
:
exporter-node
image
:
{{
template "system_default_registry" .
}}{{
.Values.image.repository
}}
:{{ .Values.image.tag }}
args
:
-
--web.listen-address=
$(POD_IP)
:{{ .Values.ports.metrics.port }}
-
--web.listen-address=
0.0.0.0
:{{ .Values.ports.metrics.port }}
-
--path.procfs=/host/proc
-
--path.sysfs=/host/sys
-
--path.rootfs=/host
...
...
@@ -46,11 +46,6 @@ spec:
-
--no-collector.{{$collectorName}}
{{
- end
}}
{{
- end
}}
env
:
-
name
:
POD_IP
valueFrom
:
fieldRef
:
fieldPath
:
status.podIP
ports
:
-
name
:
http
containerPort
:
{{
.Values.ports.metrics.port
}}
...
...
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