Error fetching Cgroup controller

I just installed elastic agent (8.14.3) managed by fleet on my kubernetes environment and I get the following error:

{"log.level":"error","@timestamp":"2024-11-19T14:50:35.380Z","message":"error determining cgroups version for internal monitoring: error fetching cgroup controller list for pid 16490: error reading /hostfs/sys/fs/cgroup/unified/kubepods-burstable-podcc18fedc_0578_4738_b7cf_8d953042537a.slice/cgroup.controllers: open /hostfs/sys/fs/cgroup/unified/kubepods-burstable-podcc18fedc_0578_4738_b7cf_8d953042537a.slice/cgroup.controllers: no such file or directory","component":{"binary":"filebeat","dataset":"elastic_agent.filebeat","id":"log-default","type":"log"},"log":{"source":"log-default"},"service.name":"filebeat","ecs.version":"1.6.0","log.logger":"metrics","log.origin":{"file.line":157,"file.name":"report/report.go","function":"github.com/elastic/elastic-agent-system-metrics/report.setupPlatformSpecificMetrics.InstanceCroupsReporter.func1"},"ecs.version":"1.6.0"}

I couldn't find any solution and relevant bug on github. I am using containerd with Kubernetes instead of docker. Is that related?