Hi, guys:
filebeat run as daemonset in kubernetes cluster and set reload true, when config has changed and if reload create runner failed, it won't close kubernetes watch connection with kube-apiserver, and it will keep increasing the connections, at the end lead to kube-apiserver memory pressure . is it A already known problem or do i made some mistake?
filebeat.config:
inputs:
# Mounted `filebeat-inputs` configmap:
path: ${path.config}/inputs.d/*.json
# Reload inputs configs as they change:
reload.enabled: true
modules:
path: ${path.config}/modules.d/*.yml
# Reload module configs as they change:
reload.enabled: true
processors:
- add_cloud_metadata:
cloud.id: ${ELASTIC_CLOUD_ID}
cloud.auth: ${ELASTIC_CLOUD_AUTH}
output.elasticsearch:
hosts: ['${ELASTICSEARCH_HOST:elasticsearch}:${ELASTICSEARCH_PORT:9200}']
username: ${ELASTICSEARCH_USERNAME}
password: ${ELASTICSEARCH_PASSWORD}
2019-05-08T07:08:17.261Z ERROR [reload] cfgfile/list.go:104 Error creating runner from config: No paths were defined for input accessing config
2019-05-08T07:08:27.269Z ERROR [reload] cfgfile/list.go:104 Error creating runner from config: No paths were defined for input accessing config
2019-05-08T07:08:37.279Z ERROR [reload] cfgfile/list.go:104 Error creating runner from config: No paths were defined for input accessing config
2019-05-08T07:08:47.288Z ERROR [reload] cfgfile/list.go:104 Error creating runner from config: No paths were defined for input accessing config
2019-05-08T07:08:57.297Z ERROR [reload] cfgfile/list.go:104 Error creating runner from config: No paths were defined for input accessing config
2019-05-08T07:09:07.307Z ERROR [reload] cfgfile/list.go:104 Error creating runner from config: No paths were defined for input accessing config
tcp 0 0 192.168.1.86:47956 192.168.1.86:8080 ESTABLISHED 22052/filebeat
tcp 0 0 192.168.1.86:54902 192.168.1.86:8080 ESTABLISHED 22052/filebeat
tcp 0 0 192.168.1.86:47336 192.168.1.86:8080 ESTABLISHED 22052/filebeat
tcp 0 0 192.168.1.86:43552 192.168.1.86:8080 ESTABLISHED 22052/filebeat
tcp 0 0 192.168.1.86:37720 192.168.1.86:8080 ESTABLISHED 22052/filebeat
tcp 0 0 192.168.1.86:49188 192.168.1.86:8080 ESTABLISHED 22052/filebeat
tcp 0 0 192.168.1.86:53730 192.168.1.86:8080 ESTABLISHED 22052/filebeat
tcp 0 0 192.168.1.86:60706 192.168.1.86:8080 ESTABLISHED 22052/filebeat
tcp 0 0 192.168.1.86:56284 192.168.1.86:8080 ESTABLISHED 22052/filebeat
tcp 0 0 192.168.1.86:49542 192.168.1.86:8080 ESTABLISHED 22052/filebeat
tcp 0 0 192.168.1.86:56986 192.168.1.86:8080 ESTABLISHED 22052/filebeat
tcp 0 0 192.168.1.86:55332 192.168.1.86:8080 ESTABLISHED 22052/filebeat
tcp 0 0 192.168.1.86:55166 192.168.1.86:8080 ESTABLISHED 22052/filebeat
tcp 0 0 192.168.1.86:49522 192.168.1.86:8080 ESTABLISHED 22052/filebeat
tcp 0 0 192.168.1.86:49450 192.168.1.86:8080 ESTABLISHED 22052/filebeat
$ netstat -anp |grep 8080 |grep filebeat |wc -l
624