This PR reads value of annotation "app.kubernetes.io/kepler-bpf-attach-method" on Kepler object to decide which bpf type image to be deployed.
If the value is "libbpf" , the image quay.io/sustainable_computing_io/kepler:release-0.6.1-libbpf is chosen, else quay.io/sustainable_computing_io/kepler:release-0.6.1 is used.
This is a temporary fix to let users choose libbpf image till kepler upstream makes libbpf as the default attach method.
This PR reads value of annotation
"app.kubernetes.io/kepler-bpf-attach-method"
on Kepler object to decide which bpf type image to be deployed. If the value is"libbpf"
, the imagequay.io/sustainable_computing_io/kepler:release-0.6.1-libbpf
is chosen, elsequay.io/sustainable_computing_io/kepler:release-0.6.1
is used.This is a temporary fix to let users choose libbpf image till kepler upstream makes libbpf as the default attach method.
fixes: https://issues.redhat.com/browse/POWERMON-166