mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-03 18:27:49 +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
|
- containerPort: 9300
|
||||||
name: transport
|
name: transport
|
||||||
protocol: TCP
|
protocol: TCP
|
||||||
|
livenessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: transport
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
timeoutSeconds: 10
|
||||||
|
readinessProbe:
|
||||||
|
tcpSocket:
|
||||||
|
port: transport
|
||||||
|
initialDelaySeconds: 5
|
||||||
|
timeoutSeconds: 10
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: elasticsearch-logging
|
- name: elasticsearch-logging
|
||||||
mountPath: /data
|
mountPath: /data
|
||||||
|
@@ -473,7 +473,7 @@ data:
|
|||||||
retry_forever
|
retry_forever
|
||||||
retry_max_interval 30
|
retry_max_interval 30
|
||||||
chunk_limit_size 2M
|
chunk_limit_size 2M
|
||||||
queue_limit_length 8
|
total_limit_size 500M
|
||||||
overflow_action block
|
overflow_action block
|
||||||
</buffer>
|
</buffer>
|
||||||
</match>
|
</match>
|
||||||
|
@@ -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