Merge pull request #1847 from sameersbn/ne-0.2.0

[bitnami/node-exporter] adds `service.targetPort` chart parameter
This commit is contained in:
Juan Ariza Toledano
2020-01-22 08:08:21 +01:00
committed by GitHub
4 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 0.18.1
description: Prometheus exporter for hardware and OS metrics exposed by UNIX kernels, with pluggable metric collectors.
name: node-exporter
version: 0.1.4
version: 0.2.0
keywords:
- prometheus
- node-exporter
+1
View File
@@ -76,6 +76,7 @@ The following table lists the configurable parameters of the Node Exporter chart
| `securityContext.fsGroup` | Group ID for the container filesystem | `1001` |
| `service.type` | Kubernetes service type | `ClusterIP` |
| `service.port` | Node Exporter service port | `9100` |
| `service.targetPort` | Node Exporter container target port | `9100` |
| `service.clusterIP` | Specific cluster IP when service type is cluster IP. Use `None` for headless service | `nil` |
| `service.nodePort` | Kubernetes Service nodePort | `nil` |
| `service.loadBalancerIP` | `loadBalancerIP` if service type is `LoadBalancer` | `nil` |
@@ -37,7 +37,7 @@ spec:
args:
- --path.procfs=/host/proc
- --path.sysfs=/host/sys
- --web.listen-address=0.0.0.0:9100
- --web.listen-address=0.0.0.0:{{ .Values.service.targetPort }}
{{- range $key, $value := .Values.extraArgs }}
{{- if $value }}
- --{{ $key }}={{ $value }}
@@ -47,7 +47,7 @@ spec:
{{- end }}
ports:
- name: metrics
containerPort: 9100
containerPort: {{ .Values.service.targetPort }}
protocol: TCP
livenessProbe:
httpGet:
+1
View File
@@ -92,6 +92,7 @@ service:
## Kubernetes service type and port number
##
type: ClusterIP
targetPort: 9100
port: 9100
# clusterIP: None