merbridge
merbridge copied to clipboard
Issue running on amazon eks
2023-02-28T13:10:43.064809Z warn OS CA Cert could not be found for agent [ -f bpf/mb_connect.c ] && make -C bpf load || make -C bpf load-from-obj make[1]: Entering directory '/app/bpf' Makefile:69: *** It looks like your system does not have cgroupv2 enabled, or the automatic recognition fails. Please enable cgroupv2, or specify the path of cgroupv2 manually via CGROUP2_PATH parameter.. Stop. make[1]: Leaving directory '/app/bpf' make[1]: Entering directory '/app/bpf' Makefile:69: *** It looks like your system does not have cgroupv2 enabled, or the automatic recognition fails. Please enable cgroupv2, or specify the path of cgroupv2 manually via CGROUP2_PATH parameter.. Stop. make[1]: Leaving directory '/app/bpf' make: *** [Makefile:3: load] Error 2 Error: failed to load ebpf programs: unexpected exit code: 2, err: exit status 2
The default cgroup on my machines is cgroup1 but there is also cgroup2 installed How can i point it to use that cgroup? The machines are amazon linux
What is your os and kernel version, you may need to change the kernel boot parameters to enable cgroup2.
Amazon Linux 2 and 5.10 What are the steps to enable it? Any doc link?
maybe this https://stackoverflow.com/questions/68127462/how-to-enable-cgroups-v2-on-amazon-linux-2 ?
This will require rebooting all of our machines, doesn't look good for current prod instances Is there any way to get it into existing without rebooting or changing anything except some configs?
Also we use eks optimized ami, they currently using cgroup1
So far it's not working, maybe I can go find a solution...