Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cgroup collector/analyzer #1579

Closed
banjoh opened this issue Jul 16, 2024 · 0 comments · Fixed by #1581 or #1582
Closed

cgroup collector/analyzer #1579

banjoh opened this issue Jul 16, 2024 · 0 comments · Fixed by #1581 or #1582
Assignees
Labels
type::feature New feature or request

Comments

@banjoh
Copy link
Member

banjoh commented Jul 16, 2024

Describe the rationale for the suggested feature.

Kubernetes components need cgroup and its controllers to be enabled and configured respectively to work. This collector/analyser will inspect an OS to extract configuration and probe the kernel (and any other part of the OS) to gather as much cgroup information in the system

Describe the feature

  • Collector - Gathers cgroup configuration information from an OS. The collector will collect
    • Version - v1 or v2
    • Controllers - cpu, memory...
- collectors:
      cgroup: {}
  • Analyser: json analyser, but depending on findings we might need a cgroup analyser. Specifically, if we need to check multiple fields to make a decision based on a logical OR, then a new analyser might be the way forward.

Additional information

k0s collects cgroup information from linux in this probe code

@banjoh banjoh added the type::feature New feature or request label Jul 16, 2024
@banjoh banjoh self-assigned this Jul 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type::feature New feature or request
Projects
None yet
1 participant