Comments (8)
I think leaving this open is fair, as this is a real blocker, i.e. there's no way to use CPUManager with k0s right now, unfortunately.
(And I consider this a bug, since nobody expected CPUManager not to work with k0s.)
To be clear, CPUManager can be used with k0s just not with reservedSystemCPUs
. I installed k0s with arg --kubelet-extra-args='--cpu-manager-policy=static'
and kubelet is running without error and I can see log entries for cpu_manager
from k0s.
This relates heavily on the same findings as in #4255 . Essentially we need to figure out better way to "default" cgroup settings without hardcoding anything like we do in some places currently
from k0s.
Thanks @jnummelin - Should I keep this issue open or close it in favor of #4255 and use that to track this feature also?
from k0s.
I think leaving this open is fair, as this is a real blocker, i.e. there's no way to use CPUManager with k0s right now, unfortunately.
(And I consider this a bug, since nobody expected CPUManager not to work with k0s.)
from k0s.
@twz123 - Noted, I will leave it open
from k0s.
Ah, good to know. Still, the hard coded cgroup related settings in k0s are something that needs to be addressed somehow.
from k0s.
In my case (k0sctl version: v0.17.5), --kubelet-extra-args='--cpu-manager-policy=static'
was not enough, I had also set the resources reservation parameters:
installFlags:
- --debug
- --disable-components=konnectivity-server,metrics-server
- --kubelet-extra-args='--cpu-manager-policy=static --kube-reserved=cpu=500m,memory=1Gi --kube-reserved-cgroup=system.slice --kubelet-cgroups=/system.slice/containerd.service'
from k0s.
I had also set the resources reservation parameters:
Correct! I'm also specifying those (I should have mentioned that my previous comment).
from k0s.
Related Issues (20)
- Sanitize component model HOT 2
- Allow specifying labels for the `helm.k0sproject.io/v1beta1` objects HOT 3
- [Manifest-Deployer] allow to use soft links in `/var/lib/k0s/manifests`
- Bump Kubernetes to v1.31 HOT 2
- kube-router failed to start when installation with default settings HOT 3
- controller cant join etcd cluster - starts isolated HOT 2
- kubevirt VM pod stuck in terminating state HOT 5
- Backport OCI Bundle watcher HOT 7
- Remove pinning from outdated k0s-imported OCI images HOT 4
- Autopilot with controller+worker roles fails to update HOT 2
- Specify resolvers for coredns HOT 5
- `k0s kubeconfig` should support OIDC HOT 1
- konnectivity floods the log with "Failed to get a backend" err="No agent available" on normal reboot HOT 9
- Panic: concurrent map read and map write HOT 1
- Add SLES to OS testing matrix
- Backport bump Helm Library version HOT 4
- Manual upgrade failing because of helm timeout type HOT 3
- controller join not working with AWS NLB HOT 2
- Not accurate documentation for nvidia-container-runtime HOT 3
- Update to containerd 2.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k0s.