# Error fetching Cgroup controller

**URL:** <https://discuss.elastic.co/t/error-fetching-cgroup-controller/370773>\
**Category:** Elastic Agent\
**Created:** [November 19, 2024, 3:17pm UTC](https://discuss.elastic.co/t/error-fetching-cgroup-controller/370773 "2024-11-19T15:17:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![TS27](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ts27/32/137632_2.png) [@TS27](https://discuss.elastic.co/u/TS27)\
**Post date:** [November 19, 2024, 3:17pm UTC](https://discuss.elastic.co/t/error-fetching-cgroup-controller/370773/1 "2024-11-19T15:17:50Z")

</div>

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

```auto
{"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?
