Skip to content

Commit 6a5be7e

Browse files
feat(helm): use named ports for memcached services targetports (#18990)
Signed-off-by: drfaust92 <[email protected]> Signed-off-by: Ilia Lazebnik <[email protected]> Signed-off-by: Jay Clifford <[email protected]> Co-authored-by: Jay Clifford <[email protected]>
1 parent a935a63 commit 6a5be7e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

production/helm/loki/CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ Entries should include a reference to the pull request that introduced the chang
1313

1414
## Unreleased
1515

16+
- [FEATURE] Use named ports for memcached services targetports. [#18990](https://github.com/grafana/loki/pull/18990)
1617
- [BREAKING] The Loki UI has been moved to a Grafana Plugin. Enabling the UI in the helm chart will now only enable the APIs needed by the plugin, and will host them on the querier. The gateway will now forward all UI requests to the queriers.
1718

1819
## 6.42.0

production/helm/loki/templates/memcached/_memcached-svc.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@ spec:
2929
ports:
3030
- name: memcached-client
3131
port: {{ .port }}
32-
targetPort: {{ .port }}
32+
targetPort: client
3333
{{ if $.ctx.Values.memcachedExporter.enabled -}}
3434
- name: http-metrics
3535
port: 9150
36-
targetPort: 9150
36+
targetPort: http-metrics
3737
{{ end }}
3838
selector:
3939
{{- include "loki.selectorLabels" $.ctx | nindent 4 }}

0 commit comments

Comments
 (0)