Skip to content

Commit

Permalink
Merge pull request #193 from ali-sattari/container-port
Browse files Browse the repository at this point in the history
  • Loading branch information
naseemkullah authored Dec 27, 2021
2 parents 9c11444 + 3989dd1 commit 5e1675d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion charts/fluent-bit/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ keywords:
- logging
- fluent-bit
- fluentd
version: 0.19.15
version: 0.19.16
appVersion: 1.8.11
icon: https://fluentbit.io/assets/img/logo1-default.png
home: https://fluentbit.io/
Expand Down
2 changes: 1 addition & 1 deletion charts/fluent-bit/templates/_pod.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ containers:
{{- end }}
ports:
- name: http
containerPort: 2020
containerPort: {{ .Values.metricsPort }}
protocol: TCP
{{- if .Values.extraPorts }}
{{- range .Values.extraPorts }}
Expand Down
4 changes: 3 additions & 1 deletion charts/fluent-bit/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,8 @@ extraContainers: []
# image: busybox
# command: ['do', 'something']

metricsPort: 2020

extraPorts: []
# - port: 5170
# containerPort: 5170
Expand Down Expand Up @@ -260,7 +262,7 @@ config:
Parsers_File custom_parsers.conf
HTTP_Server On
HTTP_Listen 0.0.0.0
HTTP_Port {{ .Values.service.port }}
HTTP_Port {{ .Values.metricsPort }}
Health_Check On
## https://docs.fluentbit.io/manual/pipeline/inputs
Expand Down

0 comments on commit 5e1675d

Please sign in to comment.