Skip to content

Commit

Permalink
Fix port for stackdriver
Browse files Browse the repository at this point in the history
  • Loading branch information
Whyeasy committed Jun 19, 2020
1 parent d5f1caf commit d554175
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion charts/stackdriver-exporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ Current chart version is `0.1.5`
| Key | Type | Default | Description |
|-----|------|---------|-------------|
| affinity | object | `{}` | Adding any affinity for your deployment. |
| exporter.listenAddress | string | `":9255"` | What port should be used for the exporter to run on. |
| exporter.path | string | `"/metrics"` | What path should be used for the exporter to run on. |
| fullnameOverride | string | `""` | |
| image.pullPolicy | string | `"IfNotPresent"` | Pull Policy to use within Cluster. |
Expand Down
4 changes: 2 additions & 2 deletions charts/stackdriver-exporter/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ spec:
imagePullPolicy: {{ .Values.image.pullPolicy }}
ports:
- name: http
containerPort: {{ .Values.exporter.listenAddress }}
containerPort: 9255
protocol: TCP
livenessProbe:
httpGet:
Expand Down Expand Up @@ -64,7 +64,7 @@ spec:
- name: STACKDRIVER_EXPORTER_MONITORING_METRICS_OFFSET
value: {{ .Values.stackdriver.metrics.offset | quote }}
- name: STACKDRIVER_EXPORTER_WEB_LISTEN_ADDRESS
value: {{ .Values.exporter.listenAddress | quote }}
value: ":9255"
- name: STACKDRIVER_EXPORTER_WEB_TELEMETRY_PATH
value: {{ .Values.exporter.path | quote }}
{{- with .Values.env }}
Expand Down
2 changes: 0 additions & 2 deletions charts/stackdriver-exporter/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,6 @@ stackdriver:
offset: 0s

exporter:
# exporter.listenAddress -- What port should be used for the exporter to run on.
listenAddress: :9255
# exporter.path -- What path should be used for the exporter to run on.
path: /metrics

Expand Down

0 comments on commit d554175

Please sign in to comment.