fluentd add port promtheus and health check
fluentd readiness and liveness health check can use fluent-plugin-prometheus port
This commit is contained in:
parent
325848509a
commit
a192b59f9f
@ -89,6 +89,20 @@ spec:
|
||||
readOnly: true
|
||||
- name: config-volume
|
||||
mountPath: /etc/fluent/config.d
|
||||
ports:
|
||||
- containerPort: 24231
|
||||
name: prometheus
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: prometheus
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds: 10
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: prometheus
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds: 10
|
||||
terminationGracePeriodSeconds: 30
|
||||
volumes:
|
||||
- name: varlog
|
||||
|
Loading…
Reference in New Issue
Block a user