Filebeat 7.4.1 PODs of k8s daemonset constantly crash

I'm trying to use filebeat in my k8s cluster to forward logs to a dedicated self-hosted elasticsearch instance.
Following the documentation here ( https://www.elastic.co/guide/en/beats/filebeat/current/running-on-kubernetes.html ) I deployed the necessary k8s resources into my kube-system namespace.

The deployed PODs on the k8s nodes constantly CrashLoopBackOff and this is what I get from one of them and I have no clue what the problem is :

$ kubectl -n kube-system logs filebeat-72qph
2019-10-29T10:46:22.778Z	INFO	instance/beat.go:607	Home path: [/usr/share/filebeat] Config path: [/usr/share/filebeat] Data path: [/usr/share/filebeat/data] Logs path: [/usr/share/filebeat/logs]
2019-10-29T10:46:22.778Z	INFO	instance/beat.go:615	Beat ID: a0bac015-369a-4076-885c-fea79ba2fa80
2019-10-29T10:46:22.780Z	INFO	add_cloud_metadata/add_cloud_metadata.go:87	add_cloud_metadata: hosting provider type not detected.
2019-10-29T10:46:22.782Z	INFO	[seccomp]	seccomp/seccomp.go:124	Syscall filter successfully installed
2019-10-29T10:46:22.782Z	INFO	[beat]	instance/beat.go:903	Beat info	{"system_info": {"beat": {"path": {"config": "/usr/share/filebeat", "data": "/usr/share/filebeat/data", "home": "/usr/share/filebeat", "logs": "/usr/share/filebeat/logs"}, "type": "filebeat", "uuid": "a0bac015-369a-4076-885c-fea79ba2fa80"}}}
2019-10-29T10:46:22.782Z	INFO	[beat]	instance/beat.go:912	Build info	{"system_info": {"build": {"commit": "12ee6cd05c1bfdc69721ddab1f473417b1514576", "libbeat": "7.4.1", "time": "2019-10-22T16:22:37.000Z", "version": "7.4.1"}}}
2019-10-29T10:46:22.782Z	INFO	[beat]	instance/beat.go:915	Go runtime info	{"system_info": {"go": {"os":"linux","arch":"amd64","max_procs":2,"version":"go1.12.9"}}}
2019-10-29T10:46:22.784Z	INFO	[beat]	instance/beat.go:919	Host info	{"system_info": {"host": {"architecture":"x86_64","boot_time":"2019-10-01T08:16:20Z","containerized":false,"name":"shinefour-rancher-agent-2","ip":["127.0.0.1/8","::1/128","116.203.87.129/32","2a01:4f8:c2c:3c0a::1/64","fe80::9400:ff:fe31:d214/64","10.0.0.4/32","fe80::8400:ff:fe31:d6ee/64","172.17.0.1/16","fe80::42:5eff:fe53:c773/64","10.42.1.0/32","fe80::6069:9eff:fe1d:b240/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64","fe80::ecee:eeff:feee:eeee/64"],"kernel_version":"4.15.0-64-generic","mac":["96:00:00:31:d2:14","86:00:00:31:d6:ee","02:42:5e:53:c7:73","62:69:9e:1d:b2:40","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee","ee:ee:ee:ee:ee:ee"],"os":{"family":"redhat","platform":"centos","name":"CentOS Linux","version":"7 (Core)","major":7,"minor":6,"patch":1810,"codename":"Core"},"timezone":"UTC","timezone_offset_sec":0}}}
2019-10-29T10:46:22.784Z	INFO	[beat]	instance/beat.go:948	Process info	{"system_info": {"process": {"capabilities": {"inheritable":["chown","dac_override","fowner","fsetid","kill","setgid","setuid","setpcap","net_bind_service","net_raw","sys_chroot","mknod","audit_write","setfcap"],"permitted":["chown","dac_override","fowner","fsetid","kill","setgid","setuid","setpcap","net_bind_service","net_raw","sys_chroot","mknod","audit_write","setfcap"],"effective":["chown","dac_override","fowner","fsetid","kill","setgid","setuid","setpcap","net_bind_service","net_raw","sys_chroot","mknod","audit_write","setfcap"],"bounding":["chown","dac_override","fowner","fsetid","kill","setgid","setuid","setpcap","net_bind_service","net_raw","sys_chroot","mknod","audit_write","setfcap"],"ambient":null}, "cwd": "/usr/share/filebeat", "exe": "/usr/share/filebeat/filebeat", "name": "filebeat", "pid": 1, "ppid": 0, "seccomp": {"mode":"filter","no_new_privs":true}, "start_time": "2019-10-29T10:46:21.980Z"}}}
2019-10-29T10:46:22.785Z	INFO	instance/beat.go:292	Setup Beat: filebeat; Version: 7.4.1
2019-10-29T10:46:22.785Z	INFO	[index-management]	idxmgmt/std.go:178	Set output.elasticsearch.index to 'filebeat-7.4.1' as ILM is enabled.
2019-10-29T10:46:22.785Z	INFO	elasticsearch/client.go:170	Elasticsearch url: https://es.rancher.shinefour.de:9200
2019-10-29T10:46:22.785Z	INFO	[publisher]	pipeline/module.go:97	Beat name: shinefour-rancher-agent-2
2019-10-29T10:46:22.786Z	INFO	[monitoring]	log/log.go:118	Starting metrics logging every 30s
2019-10-29T10:46:22.786Z	INFO	instance/beat.go:422	filebeat start running.
2019-10-29T10:46:22.786Z	INFO	registrar/registrar.go:145	Loading registrar data from /usr/share/filebeat/data/registry/filebeat/data.json
2019-10-29T10:46:22.786Z	INFO	registrar/registrar.go:152	States Loaded from registrar: 0
2019-10-29T10:46:22.786Z	INFO	crawler/crawler.go:72	Loading Inputs: 1
2019-10-29T10:46:22.788Z	INFO	kubernetes/util.go:67	kubernetes: Using node agent-2 provided in the config
2019-10-29T10:46:22.889Z	INFO	log/input.go:152	Configured paths: [/var/log/containers/*.log]
2019-10-29T10:46:22.889Z	INFO	input/input.go:114	Starting input of type: container; ID: 18315498249972727592
2019-10-29T10:46:22.889Z	INFO	crawler/crawler.go:106	Loading and starting Inputs completed. Enabled inputs: 1
E1029 10:46:22.889366       1 runtime.go:73] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)

Any help identifying the problem appreciated !

Here is the remaining k8s POD log lines :

goroutine 94 [running]:
github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/runtime.logPanic(0x2c827a0, 0x4b89700)
	/go/src/github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:69 +0x7b
github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
	/go/src/github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:51 +0x82
panic(0x2c827a0, 0x4b89700)
	/usr/local/go/src/runtime/panic.go:522 +0x1b5
github.com/elastic/beats/libbeat/common/kubernetes.(*MetaGeneratorConfig).ResourceMetadata(0xc0000d2730, 0x339f980, 0xc000720f80, 0x2f9194a)
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/metadata.go:113 +0x485
github.com/elastic/beats/libbeat/common/kubernetes.(*MetaGeneratorConfig).PodMetadata(0xc0000d2730, 0xc000720f80, 0x3)
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/metadata.go:138 +0x45
github.com/elastic/beats/libbeat/common/kubernetes.(*MetaGeneratorConfig).ContainerMetadata(0xc0000d2730, 0xc000720f80, 0xc0008ee6b0, 0xe, 0xc0008e69f0, 0x21, 0x0)
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/metadata.go:149 +0x39
github.com/elastic/beats/libbeat/processors/add_kubernetes_metadata.(*ContainerIndexer).GetMetadata(0xc0001b7d40, 0xc000720f80, 0xc000521110, 0xc00005e000, 0x127606c)
	/go/src/github.com/elastic/beats/libbeat/processors/add_kubernetes_metadata/indexers.go:198 +0x29f
github.com/elastic/beats/libbeat/processors/add_kubernetes_metadata.(*Indexers).GetMetadata(0xc000521110, 0xc000720f80, 0x0, 0x0, 0x0)
	/go/src/github.com/elastic/beats/libbeat/processors/add_kubernetes_metadata/indexers.go:108 +0x175
github.com/elastic/beats/libbeat/processors/add_kubernetes_metadata.(*kubernetesAnnotator).addPod(0xc00067f710, 0xc000720f80)
	/go/src/github.com/elastic/beats/libbeat/processors/add_kubernetes_metadata/kubernetes.go:160 +0x3d
github.com/elastic/beats/libbeat/processors/add_kubernetes_metadata.New.func1(0x2f78740, 0xc000720f80)
	/go/src/github.com/elastic/beats/libbeat/processors/add_kubernetes_metadata/kubernetes.go:123 +0x45
github.com/elastic/beats/libbeat/common/kubernetes.ResourceEventHandlerFuncs.OnAdd(...)
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/eventhandler.go:54
github.com/elastic/beats/libbeat/common/kubernetes.(*watcher).process.func1(0xc00045d6c0, 0x2b121c0, 0xc000360e00, 0x0, 0x0)
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/watcher.go:284 +0x1e0
github.com/elastic/beats/libbeat/common/kubernetes.(*watcher).process(0xc00045d6c0, 0x33d8140, 0xc000690740, 0x1)
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/watcher.go:292 +0x4d
github.com/elastic/beats/libbeat/common/kubernetes.(*watcher).Start.func1()
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/watcher.go:247 +0x48
github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1(0xc0008f36f0)
	/go/src/github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:152 +0x54
github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc0008f36f0, 0x3b9aca00, 0x0, 0x8b00000001, 0xc00015b9e0)
	/go/src/github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:153 +0xf8
github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/wait.Until(0xc0008f36f0, 0x3b9aca00, 0xc00015b9e0)
	/go/src/github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88 +0x4d
created by github.com/elastic/beats/libbeat/common/kubernetes.(*watcher).Start
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/watcher.go:246 +0x1ef
panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x21ba515]

goroutine 94 [running]:
github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
	/go/src/github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:58 +0x105
panic(0x2c827a0, 0x4b89700)
	/usr/local/go/src/runtime/panic.go:522 +0x1b5
github.com/elastic/beats/libbeat/common/kubernetes.(*MetaGeneratorConfig).ResourceMetadata(0xc0000d2730, 0x339f980, 0xc000720f80, 0x2f9194a)
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/metadata.go:113 +0x485
github.com/elastic/beats/libbeat/common/kubernetes.(*MetaGeneratorConfig).PodMetadata(0xc0000d2730, 0xc000720f80, 0x3)
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/metadata.go:138 +0x45
github.com/elastic/beats/libbeat/common/kubernetes.(*MetaGeneratorConfig).ContainerMetadata(0xc0000d2730, 0xc000720f80, 0xc0008ee6b0, 0xe, 0xc0008e69f0, 0x21, 0x0)
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/metadata.go:149 +0x39
github.com/elastic/beats/libbeat/processors/add_kubernetes_metadata.(*ContainerIndexer).GetMetadata(0xc0001b7d40, 0xc000720f80, 0xc000521110, 0xc00005e000, 0x127606c)
	/go/src/github.com/elastic/beats/libbeat/processors/add_kubernetes_metadata/indexers.go:198 +0x29f
github.com/elastic/beats/libbeat/processors/add_kubernetes_metadata.(*Indexers).GetMetadata(0xc000521110, 0xc000720f80, 0x0, 0x0, 0x0)
	/go/src/github.com/elastic/beats/libbeat/processors/add_kubernetes_metadata/indexers.go:108 +0x175
github.com/elastic/beats/libbeat/processors/add_kubernetes_metadata.(*kubernetesAnnotator).addPod(0xc00067f710, 0xc000720f80)
	/go/src/github.com/elastic/beats/libbeat/processors/add_kubernetes_metadata/kubernetes.go:160 +0x3d
github.com/elastic/beats/libbeat/processors/add_kubernetes_metadata.New.func1(0x2f78740, 0xc000720f80)

and some more log lines :

	/go/src/github.com/elastic/beats/libbeat/processors/add_kubernetes_metadata/kubernetes.go:123 +0x45
github.com/elastic/beats/libbeat/common/kubernetes.ResourceEventHandlerFuncs.OnAdd(...)
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/eventhandler.go:54
github.com/elastic/beats/libbeat/common/kubernetes.(*watcher).process.func1(0xc00045d6c0, 0x2b121c0, 0xc000360e00, 0x0, 0x0)
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/watcher.go:284 +0x1e0
github.com/elastic/beats/libbeat/common/kubernetes.(*watcher).process(0xc00045d6c0, 0x33d8140, 0xc000690740, 0x1)
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/watcher.go:292 +0x4d
github.com/elastic/beats/libbeat/common/kubernetes.(*watcher).Start.func1()
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/watcher.go:247 +0x48
github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1(0xc0008f36f0)
	/go/src/github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:152 +0x54
github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil(0xc0008f36f0, 0x3b9aca00, 0x0, 0x8b00000001, 0xc00015b9e0)
	/go/src/github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:153 +0xf8
github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/wait.Until(0xc0008f36f0, 0x3b9aca00, 0xc00015b9e0)
	/go/src/github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88 +0x4d
created by github.com/elastic/beats/libbeat/common/kubernetes.(*watcher).Start
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/watcher.go:246 +0x1ef

Hey there, i'm having the same error with 7.4.2.

The same problem here.

Filebeat 7.4.2
OpenShift: v3.11.117 (Kubernetes: v1.11.0+d4cacc0)

Works fine on all 9 nodes, except one, fails on start with the error below:

panic: runtime error: invalid memory address or nil pointer dereference [recovered]
	panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x21ba515]

goroutine 99 [running]:
github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
	/go/src/github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:58 +0x105
panic(0x2c827a0, 0x4b89700)
	/usr/local/go/src/runtime/panic.go:522 +0x1b5
github.com/elastic/beats/libbeat/common/kubernetes.(*MetaGeneratorConfig).ResourceMetadata(0xc000146140, 0x339f980, 0xc0044ac2c0, 0x2f9194a)
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/metadata.go:113 +0x485

Hello, same problem here.
Filebeat: 7.4.2
OpenShift: v3.11.117 (Kubernetes v1.11.0+d4cacc0)
5 Pods out of 32 are failing.

2019-11-27T08:52:59.501Z	INFO	instance/beat.go:607	Home path: [/usr/share/filebeat] Config path: [/usr/share/filebeat] Data path: [/usr/share/filebeat/data] Logs path: [/usr/share/filebeat/logs]
2019-11-27T08:52:59.501Z	INFO	instance/beat.go:615	Beat ID: 25989ba4-3965-43a2-8949-83cd1f83b945
2019-11-27T08:52:59.505Z	INFO	add_cloud_metadata/add_cloud_metadata.go:87	add_cloud_metadata: hosting provider type not detected.
2019-11-27T08:52:59.518Z	INFO	[seccomp]	seccomp/seccomp.go:124	Syscall filter successfully installed
2019-11-27T08:52:59.518Z	INFO	[beat]	instance/beat.go:903	Beat info	{"system_info": {"beat": {"path": {"config": "/usr/share/filebeat", "data": "/usr/share/filebeat/data", "home": "/usr/share/filebeat", "logs": "/usr/share/filebeat/logs"}, "type": "filebeat", "uuid": "25989ba4-3965-43a2-8949-83cd1f83b945"}}}
2019-11-27T08:52:59.518Z	INFO	[beat]	instance/beat.go:912	Build info	{"system_info": {"build": {"commit": "15075156388b44390301f070960fd8aeac1c9712", "libbeat": "7.4.2", "time": "2019-10-28T19:46:13.000Z", "version": "7.4.2"}}}
2019-11-27T08:52:59.518Z	INFO	[beat]	instance/beat.go:915	Go runtime info	{"system_info": {"go": {"os":"linux","arch":"amd64","max_procs":4,"version":"go1.12.9"}}}
2019-11-27T08:52:59.539Z	INFO	[beat]	instance/beat.go:919	Host info	{"system_info": {"host": [ ... omitted output ... ]
2019-11-27T08:52:59.540Z	INFO	[beat]	instance/beat.go:948	Process info	{"system_info": {"process": {"capabilities": {"inheritable":["chown","dac_override","dac_read_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux_immutable","net_bind_service","net_broadcast","net_admin","net_raw","ipc_lock","ipc_owner","sys_module","sys_rawio","sys_chroot","sys_ptrace","sys_pacct","sys_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend"],"permitted":["chown","dac_override","dac_read_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux_immutable","net_bind_service","net_broadcast","net_admin","net_raw","ipc_lock","ipc_owner","sys_module","sys_rawio","sys_chroot","sys_ptrace","sys_pacct","sys_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend"],"effective":["chown","dac_override","dac_read_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux_immutable","net_bind_service","net_broadcast","net_admin","net_raw","ipc_lock","ipc_owner","sys_module","sys_rawio","sys_chroot","sys_ptrace","sys_pacct","sys_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend"],"bounding":["chown","dac_override","dac_read_search","fowner","fsetid","kill","setgid","setuid","setpcap","linux_immutable","net_bind_service","net_broadcast","net_admin","net_raw","ipc_lock","ipc_owner","sys_module","sys_rawio","sys_chroot","sys_ptrace","sys_pacct","sys_admin","sys_boot","sys_nice","sys_resource","sys_time","sys_tty_config","mknod","lease","audit_write","audit_control","setfcap","mac_override","mac_admin","syslog","wake_alarm","block_suspend"],"ambient":null}, "cwd": "/usr/share/filebeat", "exe": "/usr/share/filebeat/filebeat", "name": "filebeat", "pid": 1, "ppid": 0, "seccomp": {"mode":"filter"}, "start_time": "2019-11-27T08:52:57.850Z"}}}
2019-11-27T08:52:59.540Z	INFO	instance/beat.go:292	Setup Beat: filebeat; Version: 7.4.2
2019-11-27T08:52:59.540Z	INFO	[index-management]	idxmgmt/std.go:178	Set output.elasticsearch.index to 'openshift-prod' as ILM is enabled.
2019-11-27T08:52:59.540Z	INFO	elasticsearch/client.go:170	Elasticsearch url: http://10.110.29.50:9200
2019-11-27T08:52:59.541Z	INFO	elasticsearch/client.go:170	Elasticsearch url: http://10.110.29.51:9200
2019-11-27T08:52:59.542Z	INFO	elasticsearch/client.go:170	Elasticsearch url: http://10.110.29.52:9200
2019-11-27T08:52:59.542Z	INFO	[publisher]	pipeline/module.go:97	Beat name: tvvvgslros026.sympany-test.ads
2019-11-27T08:52:59.543Z	INFO	[monitoring]	log/log.go:118	Starting metrics logging every 30s
2019-11-27T08:52:59.543Z	INFO	instance/beat.go:422	filebeat start running.
2019-11-27T08:52:59.544Z	INFO	registrar/registrar.go:145	Loading registrar data from /usr/share/filebeat/data/registry/filebeat/data.json
2019-11-27T08:52:59.544Z	INFO	registrar/registrar.go:152	States Loaded from registrar: 13
2019-11-27T08:52:59.544Z	INFO	crawler/crawler.go:72	Loading Inputs: 1
2019-11-27T08:52:59.547Z	INFO	kubernetes/util.go:67	kubernetes: Using node tvvvgslros026.sympany-test.ads provided in the config
E1127 08:52:59.652677       1 runtime.go:73] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
goroutine 48 [running]:
github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/runtime.logPanic(0x2c827a0, 0x4b89700)
	/go/src/github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:69 +0x7b
github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
	/go/src/github.com/elastic/beats/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:51 +0x82
panic(0x2c827a0, 0x4b89700)
	/usr/local/go/src/runtime/panic.go:522 +0x1b5
github.com/elastic/beats/libbeat/common/kubernetes.(*MetaGeneratorConfig).ResourceMetadata(0xc000486190, 0x339f980, 0xc0005c42e0, 0x2f9194a)
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/metadata.go:113 +0x485
github.com/elastic/beats/libbeat/common/kubernetes.(*MetaGeneratorConfig).PodMetadata(0xc000486190, 0xc0005c42e0, 0x3)
	/go/src/github.com/elastic/beats/libbeat/common/kubernetes/metadata.go:138 +0x45
github.com/elastic/beats/libbeat/common/kubernetes.(*MetaGeneratorConfig).ContainerMetadata(0xc000486190, 0xc0005c42e0, 0xc000059630, 0xa, 0xc000a3de80, 0x34, 0x0)

[omitted output]

is there any news ?

Working fine now in ver 7.5.0!
:+1:

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.