k8snetworkplumbingwg / sriov-network-metrics-exporter

Exporter that reads metrics for SR-IOV Virtual Functions and exposes them in the Prometheus format.
Apache License 2.0
21 stars 16 forks source link

Support for cgroupv2 #25

Open dipti262 opened 1 year ago

dipti262 commented 1 year ago

Hi ,

Could you please let me know if there is support for cgroupv2 in the current sriov-network-metric-exporter? I am currently using the latest commit for sriov-network-metric-exporter (master).

Thanks Deepti

Eoghan1232 commented 1 year ago

Hi @dipti262 ,

cgroupv2 is not currently supported in Metrics Exporter.

dipti262 commented 1 year ago

Hi @Eoghan1232

Could you please let us know if there will be cgroupv2 support in the coming future?

Thanks Deepti

dipti262 commented 1 year ago

Hi @Eoghan1232

Could you please confirm on the cgroupv2 support?

Thanks Deepti

Eoghan1232 commented 1 year ago

Hi @dipti262,

apologies for the delay, yes we can definitely look into supporting it.

Many thanks, Eoghan

oreillymj commented 1 year ago

@dipti262 Do you have a specific OS and sys/fs path that can be used for validation testing.

dipti262 commented 1 year ago

Hi @oreillymj The OS that we work on is Suse Enterprise Linux. But it can be tested on OpenSUSE.

PS: Pardon me for the late reply.

oreillymj commented 1 year ago

@dipti262 - The recent release https://github.com/k8snetworkplumbingwg/sriov-network-metrics-exporter/releases/tag/v1.0.0 was tested on Ubuntu 22.04 with cgroupsv2. It requires a change of the host sys/fs path in the daemonset configuration. Would like feedback on your experience of where kubepods.slice resides on OpenSUSE.

hostPath: path: /sys/fs/cgroup/cpuset/kubepods.slice/