Skip to content

Commit

Permalink
Opened port 2020 used by fluentbit and added heath probes
Browse files Browse the repository at this point in the history
  • Loading branch information
mhaswell-bcgov committed Jul 11, 2024
1 parent c6eecf9 commit c7c53b1
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions helm/templates/deployment-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,28 @@ spec:
- name: {{ .Chart.Name }}-fluent-bit
image: {{ .Values.fluentbit.imageRegistry }}
imagePullPolicy: {{ .Values.fluentbit.imagePullPolicy }}
ports:
- name: logs
containerPort: 2020
protocol: TCP
livenessProbe:
httpGet:
path: /
port: logs
initialDelaySeconds: 10
timeoutSeconds: 1
periodSeconds: 60
successThreshold: 1
failureThreshold: 3
readinessProbe:
httpGet:
path: /
port: logs
initialDelaySeconds: 10
timeoutSeconds: 1
periodSeconds: 60
successThreshold: 1
failureThreshold: 3
{{- if .Values.fluentbit.securityContext.enabled }}
securityContext: {{- omit .Values.fluentbit.securityContext "enabled" | toYaml | nindent 12 }}
{{- end }}
Expand Down

0 comments on commit c7c53b1

Please sign in to comment.