You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What happened:
I want to specify policies for kubelet for example CPUManagerPolicy, and TopologyManagerPolicy. I've tried two ways to specify in the config file but neither works.
This one times out in ✗ Starting control-plane and journalctl -xeu kubelet shows:
...
--
-- A start job for unit kubelet.service has finished successfully.
--
-- The job identifier is 54164.
May 17 23:04:39 nu-ins-1 systemd[3052607]: kubelet.service: Failed to execute command: No such file or directory
May 17 23:04:39 nu-ins-1 systemd[3052607]: kubelet.service: Failed at step EXEC spawning /var/lib/minikube/binaries/v1.26.3/kubelet: No such file or directory
-- Subject: Process /var/lib/minikube/binaries/v1.26.3/kubelet could not be executed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The process /var/lib/minikube/binaries/v1.26.3/kubelet could not be executed and failed.
--
-- The error number returned by this process is ERRNO.
May 17 23:04:39 nu-ins-1 systemd[1]: kubelet.service: Main process exited, code=exited, status=203/EXEC
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- An ExecStart= process belonging to unit kubelet.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 203.
May 17 23:04:39 nu-ins-1 systemd[1]: kubelet.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- The unit kubelet.service has entered the 'failed' state with result 'exit-code'.
Then I tried replacing kind: InitConfiguration to kind: KubeletConfiguration and turns out creating cluster fine. However, when I look to see if the policy is configured correctly by kubectl get --raw "/api/v1/nodes/kind-control-plane/proxy/configz" | jq, it shows
Like what I specified for topology-manager-policy, I expect the pod to consume on a single NUMA node memory (otherwise would never be admitted), however, pcm-memory shows:
that the pod spins on cross-NUMA nodes. I guess I didn't specify the config file correct.
What you expected to happen: kubelet configuration will show the policies are recognized and pod should behave as it the policy indicates.
How to reproduce it (as minimally and precisely as possible):
WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version.
Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.1", GitCommit:"4c9411232e10168d7b050c49a1b59f6df9d7ea4b", GitTreeState:"clean", BuildDate:"2023-04-14T13:21:19Z", GoVersion:"go1.20.3", Compiler:"gc", Platform:"linux/amd64"}
Kustomize Version: v5.0.1
Server Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.3", GitCommit:"9e644106593f3f4aa98f8a84b23db5fa378900bd", GitTreeState:"clean", BuildDate:"2023-03-30T06:34:50Z", GoVersion:"go1.19.7", Compiler:"gc", Platform:"linux/amd64"}
The text was updated successfully, but these errors were encountered:
What happened:
I want to specify policies for kubelet for example CPUManagerPolicy, and TopologyManagerPolicy. I've tried two ways to specify in the config file but neither works.
This one times out in
✗ Starting control-plane
andjournalctl -xeu kubelet
shows:Then I tried replacing
kind: InitConfiguration
tokind: KubeletConfiguration
and turns out creating cluster fine. However, when I look to see if the policy is configured correctly bykubectl get --raw "/api/v1/nodes/kind-control-plane/proxy/configz" | jq
, it showsAs it shows the feature gates are all
enabled
, but the policies of bothcpuManagerPolicy
andtopologyManagerPolicy
are not set up properly.To testify, I deploy a simple stress test like this:
Like what I specified for
topology-manager-policy
, I expect the pod to consume on a single NUMA node memory (otherwise would never be admitted), however,pcm-memory
shows:that the pod spins on cross-NUMA nodes. I guess I didn't specify the config file correct.
What you expected to happen:
kubelet
configuration will show the policies are recognized and pod should behave as it the policy indicates.How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
kind version
):kind v0.18.0 go1.20.2 linux/amd64
docker info
orpodman info
):/etc/os-release
):kubectl version
):The text was updated successfully, but these errors were encountered: