Skip to content

Commit

Permalink
fix(helm): add metrics port to otelcol pods
Browse files Browse the repository at this point in the history
  • Loading branch information
pmalek committed Dec 17, 2021
1 parent 04a1be0 commit 060dcfe
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- fix(helm): add job and cronjob to clusterrole's permission set [#1983][#1983]
- fix(helm): add metrics port to otelcol pods [#1992][#1992]

[Unreleased]: https://github.com/SumoLogic/sumologic-kubernetes-collection/compare/v2.3.1...main
[#1959]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/1959
[#1974]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/1974
[#1973]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/1973
[#1983]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/1983
[#1992]: https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/1992

## [v2.3.1][v2_3_1] - 2021-12-14

Expand Down
5 changes: 5 additions & 0 deletions deploy/helm/sumologic/templates/logs/otelcol/statefulset.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ spec:
- name: fluent-bit
containerPort: 24321
protocol: TCP
{{- if eq .Values.otelcol.metrics.enabled true }}
- name: metrics
containerPort: 8888
protocol: TCP
{{- end }}
livenessProbe:
httpGet:
path: /
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@ spec:
- name: prom-write
containerPort: 9888
protocol: TCP
{{- if eq .Values.otelcol.metrics.enabled true }}
- name: metrics
containerPort: 8888
protocol: TCP
{{- end }}
livenessProbe:
httpGet:
path: /
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ spec:
- name: fluent-bit
containerPort: 24321
protocol: TCP
- name: metrics
containerPort: 8888
protocol: TCP
livenessProbe:
httpGet:
path: /
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ spec:
- name: prom-write
containerPort: 9888
protocol: TCP
- name: metrics
containerPort: 8888
protocol: TCP
livenessProbe:
httpGet:
path: /
Expand Down

0 comments on commit 060dcfe

Please sign in to comment.