We have upgraded Azure AKS to v1.19.9 so in this version there isn't docker but containerd. With docker stats enabled in UMA we can see some errors like this:
helper.go:32] Cgroup paths discovered map[blkio:/host/sys/fs/cgroup/blkio cpu:/host/sys/fs/cgroup/cpu,cpuacct cpuacct:/host/sys/fs/cgroup/cpu,cpuacct memory:/host/sys/fs/cgroup/memory pids:/host/sys/fs/cgroup/pids]
factory.go:54] Trying to register docker runtime factory
client.go:77] Docker client timeout is 3m0s
factory.go:57] Registration of the docker runtime factory failed: failed to validate Docker info: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
factory.go:54] Trying to register crio runtime factory
grpcClient.go:91] Creating crio client and timeout set is 180 seconds
factory.go:57] Registration of the crio runtime factory failed: containerd: cannot unix dial containerd api service: dial unix /var/run/crio/crio.sock: connect: connection refused
and the container sometimes restarts. We have extracted kubernetes metrics via Prometheus so we disabled docker API, however with this configuration we have seen that we also lose the SystemEdge metrics and the autoattach for java processes. Is there any UMA version that works with containerd without loosing the rest of UMA features?
UMA agent 126.96.36.199
Containerd is not supported
Currently containerd is not supported by UMA and that's the reason java attach is not working either.