Merge pull request #85838 from like-inspur/master

optimize some log config
This commit is contained in:
Kubernetes Prow Robot 2019-12-10 14:50:06 -08:00 committed by GitHub
commit 7a9788be8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 25 additions and 1 deletions

View File

@ -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

View File

@ -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>

View File

@ -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