fluentd / ES fixes
This commit is contained in:
parent
1764d84ac5
commit
8b82972d06
@ -8,7 +8,7 @@ ingress:
|
|||||||
type: NodePort
|
type: NodePort
|
||||||
private:
|
private:
|
||||||
enabled: true
|
enabled: true
|
||||||
nodeSelector: "31080_31443_30671_30672_31224"
|
nodeSelector: "31080_31443_31671_31672_31224"
|
||||||
dnsNames:
|
dnsNames:
|
||||||
- "*"
|
- "*"
|
||||||
|
|
||||||
|
@ -11,6 +11,5 @@ metadata:
|
|||||||
labels:
|
labels:
|
||||||
{{ include "kubezero-lib.labels" . | indent 4 }}
|
{{ include "kubezero-lib.labels" . | indent 4 }}
|
||||||
data:
|
data:
|
||||||
username: {{ "elastic" | b64enc | quote }}
|
|
||||||
elastic: {{ .Values.elastic_password | b64enc | quote }}
|
elastic: {{ .Values.elastic_password | b64enc | quote }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
@ -136,11 +136,11 @@ fluentd:
|
|||||||
user "#{ENV['OUTPUT_USER']}"
|
user "#{ENV['OUTPUT_USER']}"
|
||||||
password "#{ENV['OUTPUT_PASSWORD']}"
|
password "#{ENV['OUTPUT_PASSWORD']}"
|
||||||
|
|
||||||
|
log_es_400_reason
|
||||||
logstash_format true
|
logstash_format true
|
||||||
reload_connections false
|
|
||||||
reconnect_on_error true
|
reconnect_on_error true
|
||||||
reload_on_failure true
|
# reload_on_failure true
|
||||||
request_timeout 30s
|
request_timeout 15s
|
||||||
suppress_type_name true
|
suppress_type_name true
|
||||||
|
|
||||||
<buffer>
|
<buffer>
|
||||||
@ -148,11 +148,10 @@ fluentd:
|
|||||||
path /var/log/fluentd-buffers/kubernetes.system.buffer
|
path /var/log/fluentd-buffers/kubernetes.system.buffer
|
||||||
flush_mode interval
|
flush_mode interval
|
||||||
flush_thread_count 2
|
flush_thread_count 2
|
||||||
flush_interval 5s
|
flush_interval 30s
|
||||||
flush_at_shutdown true
|
flush_at_shutdown true
|
||||||
retry_type exponential_backoff
|
retry_type exponential_backoff
|
||||||
retry_timeout 60m
|
retry_timeout 60m
|
||||||
retry_max_interval 30
|
|
||||||
chunk_limit_size "#{ENV['OUTPUT_BUFFER_CHUNK_LIMIT']}"
|
chunk_limit_size "#{ENV['OUTPUT_BUFFER_CHUNK_LIMIT']}"
|
||||||
queue_limit_length "#{ENV['OUTPUT_BUFFER_QUEUE_LIMIT']}"
|
queue_limit_length "#{ENV['OUTPUT_BUFFER_QUEUE_LIMIT']}"
|
||||||
overflow_action drop_oldest_chunk
|
overflow_action drop_oldest_chunk
|
||||||
|
Loading…
Reference in New Issue
Block a user