kmesh-net / kmesh-net/kmesh

Support systemd cgroup driver

Open
#95 0 comments 0 reactions 0 assignees View on GitHub
kind/feature
Dominant language
Go
Stars
757
Forks
276
Avg merge
5d 20h
Merged PRs (30d)
2

Description

**What would you like to be added**:

In `enableKmeshControl` we added a mark`ENABLE_KMESH_MARK = "0x1000"`
to the net cgroup of a pod. Currently it only works on cgroups driver, but recent k8s releases make systemd as the default cgroup driver.
So suggest we automatically detect which cgroup driver kubelet use, and set the mark accordingly.

**Why is this needed**:

Contributor guide

Open the contributing guide

Research direction

Start at enableKmeshControl and trace how the net cgroup mark ENABLE_KMESH_MARK is currently applied. Investigate how the kubelet cgroup driver is identified, then verify that the mark is set correctly for both the existing driver and systemd; the issue is done when both configurations are supported.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, kubernetes, linux
Domain
infrastructure, networking
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.