mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-01 01:08:55 +00:00
Merge pull request #85838 from like-inspur/master
optimize some log config
This commit is contained in:
@@ -86,6 +86,16 @@ spec:
|
||||
- containerPort: 9300
|
||||
name: transport
|
||||
protocol: TCP
|
||||
livenessProbe:
|
||||
tcpSocket:
|
||||
port: transport
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds: 10
|
||||
readinessProbe:
|
||||
tcpSocket:
|
||||
port: transport
|
||||
initialDelaySeconds: 5
|
||||
timeoutSeconds: 10
|
||||
volumeMounts:
|
||||
- name: elasticsearch-logging
|
||||
mountPath: /data
|
||||
|
@@ -473,7 +473,7 @@ data:
|
||||
retry_forever
|
||||
retry_max_interval 30
|
||||
chunk_limit_size 2M
|
||||
queue_limit_length 8
|
||||
total_limit_size 500M
|
||||
overflow_action block
|
||||
</buffer>
|
||||
</match>
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user