mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-03 10:17:46 +00:00
fluentd add port promtheus and health check
fluentd readiness and liveness health check can use fluent-plugin-prometheus port
This commit is contained in:
@@ -89,6 +89,20 @@ spec:
|
|||||||
readOnly: true
|
readOnly: true
|
||||||
- name: config-volume
|
- name: config-volume
|
||||||
mountPath: /etc/fluent/config.d
|
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
|
terminationGracePeriodSeconds: 30
|
||||||
volumes:
|
volumes:
|
||||||
- name: varlog
|
- name: varlog
|
||||||
|
Reference in New Issue
Block a user