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

Windows 10 (WSL 2), failed to start kubernetes cluster with kind #2302

Closed
notariuss opened this issue Jun 9, 2021 · 2 comments
Closed

Windows 10 (WSL 2), failed to start kubernetes cluster with kind #2302

notariuss opened this issue Jun 9, 2021 · 2 comments
Assignees
Labels
kind/support Categorizes issue or PR as a support question.

Comments

@notariuss
Copy link

notariuss commented Jun 9, 2021

Docker inside WSL2 - so installed from cli with apt,
after kind create cluster controll plane check fails, logs from docker container with controll plane node:

Jun 09 10:50:44 test-control-plane systemd-journald[168]: Journal started
Jun 09 10:50:44 test-control-plane systemd-journald[168]: Runtime Journal (/run/log/journal/707b3db342f640a7b2519e6cb7774f47) is 8.0M, max 634.0M, 626.0M free.
Jun 09 10:50:44 test-control-plane systemd-sysctl[171]: Couldn't write '176' to 'kernel/sysrq', ignoring: No such file or directory
Jun 09 10:50:44 test-control-plane systemd-sysctl[171]: Couldn't write '1' to 'kernel/yama/ptrace_scope', ignoring: No such file or directory
Jun 09 10:50:44 test-control-plane systemd-sysctl[171]: Not setting net/ipv4/conf/all/promote_secondaries (explicit setting exists).
Jun 09 10:50:44 test-control-plane systemd-sysctl[171]: Not setting net/ipv4/conf/default/promote_secondaries (explicit setting exists).
Jun 09 10:50:44 test-control-plane systemd-sysctl[171]: Couldn't write 'fq_codel' to 'net/core/default_qdisc', ignoring: No such file or directory
Jun 09 10:50:44 test-control-plane systemd-sysusers[172]: Creating group systemd-coredump with gid 999.
Jun 09 10:50:44 test-control-plane systemd-sysusers[172]: Creating user systemd-coredump (systemd Core Dumper) with uid 999 and gid 999.
Jun 09 10:50:44 test-control-plane systemd[1]: Starting Flush Journal to Persistent Storage...
Jun 09 10:50:44 test-control-plane systemd-journald[168]: Runtime Journal (/run/log/journal/707b3db342f640a7b2519e6cb7774f47) is 8.0M, max 634.0M, 626.0M free.
Jun 09 10:50:44 test-control-plane systemd[1]: Finished Flush Journal to Persistent Storage.
Jun 09 10:50:44 test-control-plane systemd[1]: Finished Create System Users.
Jun 09 10:50:44 test-control-plane systemd[1]: Starting Create Static Device Nodes in /dev...
Jun 09 10:50:44 test-control-plane systemd[1]: Finished Create Static Device Nodes in /dev.
Jun 09 10:50:44 test-control-plane systemd[1]: Reached target Local File Systems (Pre).
Jun 09 10:50:44 test-control-plane systemd[1]: Reached target Local File Systems.
Jun 09 10:50:44 test-control-plane systemd[1]: Condition check resulted in Store a System Token in an EFI Variable being skipped.
Jun 09 10:50:44 test-control-plane systemd[1]: Condition check resulted in Commit a transient machine-id on disk being skipped.
Jun 09 10:50:44 test-control-plane systemd[1]: Condition check resulted in Rule-based Manager for Device Events and Files being skipped.
Jun 09 10:50:44 test-control-plane systemd[1]: Reached target System Initialization.
Jun 09 10:50:44 test-control-plane systemd[1]: Started Daily Cleanup of Temporary Directories.
Jun 09 10:50:44 test-control-plane systemd[1]: Reached target Basic System.
Jun 09 10:50:44 test-control-plane systemd[1]: Reached target Timers.
Jun 09 10:50:44 test-control-plane systemd[1]: Starting containerd container runtime...
Jun 09 10:50:44 test-control-plane systemd[1]: Condition check resulted in kubelet: The Kubernetes Node Agent being skipped.

...skipping 1 line
Jun 09 10:50:44 test-control-plane systemd[1]: Started containerd container runtime.
Jun 09 10:50:44 test-control-plane systemd[1]: Reached target Multi-User System.
Jun 09 10:50:44 test-control-plane systemd[1]: Reached target Graphical Interface.
Jun 09 10:50:44 test-control-plane systemd[1]: Starting Update UTMP about System Runlevel Changes...
Jun 09 10:50:44 test-control-plane systemd[1]: systemd-update-utmp-runlevel.service: Succeeded.
Jun 09 10:50:44 test-control-plane systemd[1]: Finished Update UTMP about System Runlevel Changes.
Jun 09 10:50:44 test-control-plane systemd[1]: Startup finished in 155ms.
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.766136100Z" level=info msg="starting containerd" revision=12dca9790f4cb6b18a6a7a027ce420145cb98ee7 version=v1.5.1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.796452400Z" level=info msg="loading plugin \"io.containerd.content.v1.content\"..." type=io.containerd.content.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.796578500Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.aufs\"..." type=io.containerd.snapshotter.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.798943700Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.aufs\"..." error="aufs is not supported (modprobe aufs failed: exit 
status 1 \"modprobe: FATAL: Module aufs not found in directory /lib/modules/5.4.72-microsoft-standard-WSL2\\n\"): skip plugin" type=io.containerd.snapshotter.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.799160900Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.btrfs\"..." type=io.containerd.snapshotter.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.799563000Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.btrfs\"..." error="path /var/lib/containerd/io.containerd.snapshotte
r.v1.btrfs (ext4) must be a btrfs filesystem to be used with the btrfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.799614600Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.devmapper\"..." type=io.containerd.snapshotter.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.799663600Z" level=warning msg="failed to load plugin io.containerd.snapshotter.v1.devmapper" error="devmapper not configured"
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.799678800Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.native\"..." type=io.containerd.snapshotter.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.799717800Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.overlayfs\"..." type=io.containerd.snapshotter.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.799832200Z" level=info msg="loading plugin \"io.containerd.snapshotter.v1.zfs\"..." type=io.containerd.snapshotter.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.800199200Z" level=info msg="skip loading plugin \"io.containerd.snapshotter.v1.zfs\"..." error="path /var/lib/containerd/io.containerd.snapshotter.
v1.zfs must be a zfs filesystem to be used with the zfs snapshotter: skip plugin" type=io.containerd.snapshotter.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.800247600Z" level=info msg="loading plugin \"io.containerd.metadata.v1.bolt\"..." type=io.containerd.metadata.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.800281300Z" level=warning msg="could not use snapshotter devmapper in metadata plugin" error="devmapper not configured"
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.800297500Z" level=info msg="metadata content store policy set" policy=shared
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.800406500Z" level=info msg="loading plugin \"io.containerd.differ.v1.walking\"..." type=io.containerd.differ.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.800428400Z" level=info msg="loading plugin \"io.containerd.gc.v1.scheduler\"..." type=io.containerd.gc.v1

...skipping 1 line
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.800571500Z" level=info msg="loading plugin \"io.containerd.service.v1.containers-service\"..." type=io.containerd.service.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.800597100Z" level=info msg="loading plugin \"io.containerd.service.v1.content-service\"..." type=io.containerd.service.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.800620700Z" level=info msg="loading plugin \"io.containerd.service.v1.diff-service\"..." type=io.containerd.service.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.800659500Z" level=info msg="loading plugin \"io.containerd.service.v1.images-service\"..." type=io.containerd.service.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.800683500Z" level=info msg="loading plugin \"io.containerd.service.v1.leases-service\"..." type=io.containerd.service.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.800714100Z" level=info msg="loading plugin \"io.containerd.service.v1.namespaces-service\"..." type=io.containerd.service.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.800734600Z" level=info msg="loading plugin \"io.containerd.service.v1.snapshots-service\"..." type=io.containerd.service.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.800750100Z" level=info msg="loading plugin \"io.containerd.runtime.v1.linux\"..." type=io.containerd.runtime.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.800828700Z" level=info msg="loading plugin \"io.containerd.runtime.v2.task\"..." type=io.containerd.runtime.v2
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.800900200Z" level=info msg="loading plugin \"io.containerd.monitor.v1.cgroups\"..." type=io.containerd.monitor.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.801434000Z" level=info msg="loading plugin \"io.containerd.service.v1.tasks-service\"..." type=io.containerd.service.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.801486700Z" level=info msg="loading plugin \"io.containerd.internal.v1.restart\"..." type=io.containerd.internal.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.801588600Z" level=info msg="loading plugin \"io.containerd.grpc.v1.containers\"..." type=io.containerd.grpc.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.801611100Z" level=info msg="loading plugin \"io.containerd.grpc.v1.content\"..." type=io.containerd.grpc.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.801629000Z" level=info msg="loading plugin \"io.containerd.grpc.v1.diff\"..." type=io.containerd.grpc.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.801647100Z" level=info msg="loading plugin \"io.containerd.grpc.v1.events\"..." type=io.containerd.grpc.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.801664300Z" level=info msg="loading plugin \"io.containerd.grpc.v1.healthcheck\"..." type=io.containerd.grpc.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.801683200Z" level=info msg="loading plugin \"io.containerd.grpc.v1.images\"..." type=io.containerd.grpc.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.801700100Z" level=info msg="loading plugin \"io.containerd.grpc.v1.leases\"..." type=io.containerd.grpc.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.801758300Z" level=info msg="loading plugin \"io.containerd.grpc.v1.namespaces\"..." type=io.containerd.grpc.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.801786400Z" level=info msg="loading plugin \"io.containerd.internal.v1.opt\"..." type=io.containerd.internal.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.801896300Z" level=info msg="loading plugin \"io.containerd.grpc.v1.snapshots\"..." type=io.containerd.grpc.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.801931200Z" level=info msg="loading plugin \"io.containerd.grpc.v1.tasks\"..." type=io.containerd.grpc.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.801951400Z" level=info msg="loading plugin \"io.containerd.grpc.v1.version\"..." type=io.containerd.grpc.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.801990500Z" level=info msg="loading plugin \"io.containerd.grpc.v1.cri\"..." type=io.containerd.grpc.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.802860500Z" level=info msg="Start cri plugin with config {PluginConfig:{ContainerdConfig:{Snapshotter:overlayfs DefaultRuntimeName:runc DefaultRunt
ime:{Type: Engine: PodAnnotations:[] ContainerAnnotations:[] Root: Options:map[] PrivilegedWithoutHostDevices:false BaseRuntimeSpec:} UntrustedWorkloadRuntime:{Type: Engine: PodAnnotations:[] ContainerAnnotations:[] Root: Opt

...skipping 1 line
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.803209200Z" level=info msg="Connect containerd service"
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.803338300Z" level=info msg="Get image filesystem path \"/var/lib/containerd/io.containerd.snapshotter.v1.overlayfs\""
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.804394000Z" level=error msg="failed to load cni during init, please check CRI plugin status before setting up network for pods" error="cni config l
oad failed: no network config found in /etc/cni/net.d: cni plugin not initialized: failed to load cni config"
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.804458600Z" level=info msg="loading plugin \"io.containerd.grpc.v1.introspection\"..." type=io.containerd.grpc.v1
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.804622700Z" level=info msg="Start subscribing containerd event"
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.804737300Z" level=info msg="Start recovering state"
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.804771900Z" level=info msg=serving... address=/run/containerd/containerd.sock.ttrpc
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.804815700Z" level=info msg=serving... address=/run/containerd/containerd.sock
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.804839800Z" level=info msg="containerd successfully booted in 0.039698s"
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.805862600Z" level=warning msg="The image docker.io/kindest/kindnetd:v20210326-1e038dc5 is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.807206800Z" level=warning msg="The image docker.io/rancher/local-path-provisioner:v0.0.14 is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.808057000Z" level=warning msg="The image k8s.gcr.io/build-image/debian-base:v2.1.0 is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.809105800Z" level=warning msg="The image k8s.gcr.io/coredns/coredns:v1.8.0 is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.810135300Z" level=warning msg="The image k8s.gcr.io/etcd:3.4.13-0 is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.810944500Z" level=warning msg="The image k8s.gcr.io/kube-apiserver:v1.21.1 is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.812351100Z" level=warning msg="The image k8s.gcr.io/kube-controller-manager:v1.21.1 is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.813757100Z" level=warning msg="The image k8s.gcr.io/kube-proxy:v1.21.1 is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.814876500Z" level=warning msg="The image k8s.gcr.io/kube-scheduler:v1.21.1 is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.816177100Z" level=warning msg="The image k8s.gcr.io/pause:3.4.1 is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.817929000Z" level=warning msg="The image sha256:0369cf4303ffdb467dc219990960a9baa8512a54b0ad9283eaf55bd6c0adb934 is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.819308700Z" level=warning msg="The image sha256:0f8457a4c2ecaceac160805013dc3c61c63a1ff3dee74a473a36249a748e0253 is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.820641900Z" level=warning msg="The image sha256:296a6d5035e2d6919249e02709a488d680ddca91357602bd65e605eac967b899 is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.821593100Z" level=warning msg="The image sha256:6401e478dcc01ee6bd9969b9a3d88effc390f1f00c00a226663ee7f591691a1a is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.822578300Z" level=warning msg="The image sha256:6de166512aa223315ff9cfd49bd4f13aab1591cd8fc57e31270f0e4aa34129cb is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.823612000Z" level=warning msg="The image sha256:7813cf876a0d4e8176fa5106c0142ecedba78375e815915564a03d2bf0e1361f is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.824477100Z" level=warning msg="The image sha256:c7c6c86897b63067b540640b3b47ba46e0587542fc6511eef3bd1f833e1319e1 is not unpacked."

...skipping 1 line
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.826525600Z" level=warning msg="The image sha256:e422121c9c5f97623245b7e600eeb5e223ee623f21fa04da985ae71057d8d70b is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.827567800Z" level=warning msg="The image sha256:ebd41ad8710f9766775f044b3a341b06d47e8d471719f998c97ab509deb4f8ad is not unpacked."
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.828301400Z" level=info msg="Start event monitor"
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.828347800Z" level=info msg="Start snapshots syncer"
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.828362300Z" level=info msg="Start cni network conf syncer"
Jun 09 10:50:44 test-control-plane containerd[177]: time="2021-06-09T10:50:44.828375400Z" level=info msg="Start streaming server"
Jun 09 10:50:48 test-control-plane systemd[1]: Reloading.
Jun 09 10:50:48 test-control-plane systemd[1]: Starting kubelet: The Kubernetes Node Agent...
Jun 09 10:50:48 test-control-plane systemd[1]: Started kubelet: The Kubernetes Node Agent.
Jun 09 10:50:48 test-control-plane kubelet[244]: Flag --fail-swap-on has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/adminis
ter-cluster/kubelet-config-file/ for more information.
Jun 09 10:50:48 test-control-plane kubelet[244]: Flag --provider-id has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administ
er-cluster/kubelet-config-file/ for more information.
Jun 09 10:50:48 test-control-plane kubelet[244]: Flag --fail-swap-on has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/adminis
ter-cluster/kubelet-config-file/ for more information.
Jun 09 10:50:48 test-control-plane kubelet[244]: Flag --cgroup-root has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administ
er-cluster/kubelet-config-file/ for more information.
Jun 09 10:50:48 test-control-plane kubelet[244]: I0609 10:50:48.439848     244 server.go:197] "Warning: For remote container runtime, --pod-infra-container-image is ignored in kubelet, which should be set in that remote runti
me instead"
Jun 09 10:50:48 test-control-plane kubelet[244]: Flag --fail-swap-on has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/adminis
ter-cluster/kubelet-config-file/ for more information.
Jun 09 10:50:48 test-control-plane kubelet[244]: Flag --provider-id has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administ
er-cluster/kubelet-config-file/ for more information.
Jun 09 10:50:48 test-control-plane kubelet[244]: Flag --fail-swap-on has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/adminis
ter-cluster/kubelet-config-file/ for more information.
Jun 09 10:50:48 test-control-plane kubelet[244]: Flag --cgroup-root has been deprecated, This parameter should be set via the config file specified by the Kubelet's --config flag. See https://kubernetes.io/docs/tasks/administ
er-cluster/kubelet-config-file/ for more information.

...skipping 1 line
Jun 09 10:50:48 test-control-plane kubelet[244]: I0609 10:50:48.959074     244 server.go:440] "Kubelet version" kubeletVersion="v1.21.1"
Jun 09 10:50:48 test-control-plane kubelet[244]: I0609 10:50:48.959376     244 server.go:851] "Client rotation is on, will bootstrap in background"
Jun 09 10:50:48 test-control-plane kubelet[244]: I0609 10:50:48.963320     244 container_manager_linux.go:995] "CPUAccounting not enabled for process" pid=244
Jun 09 10:50:48 test-control-plane kubelet[244]: I0609 10:50:48.963345     244 container_manager_linux.go:998] "MemoryAccounting not enabled for process" pid=244
Jun 09 10:50:48 test-control-plane kubelet[244]: I0609 10:50:48.963568     244 dynamic_cafile_content.go:167] Starting client-ca-bundle::/etc/kubernetes/pki/ca.crt
Jun 09 10:50:48 test-control-plane kubelet[244]: E0609 10:50:48.973713     244 certificate_manager.go:437] Failed while requesting a signed certificate from the master: cannot create certificate signing request: Post "https:/
/test-control-plane:6443/apis/certificates.k8s.io/v1/certificatesigningrequests": dial tcp 172.18.0.2:6443: connect: connection refused
Jun 09 10:50:48 test-control-plane systemd[1]: run-r89f5703fd7ee4db69b662ba77728ddb6.scope: Succeeded.
Jun 09 10:50:51 test-control-plane kubelet[244]: E0609 10:50:51.054940     244 certificate_manager.go:437] Failed while requesting a signed certificate from the master: cannot create certificate signing request: Post "https:/
/test-control-plane:6443/apis/certificates.k8s.io/v1/certificatesigningrequests": dial tcp 172.18.0.2:6443: connect: connection refused
Jun 09 10:50:53 test-control-plane kubelet[244]: W0609 10:50:53.977605     244 sysinfo.go:203] Nodes topology is not available, providing CPU topology
Jun 09 10:50:53 test-control-plane kubelet[244]: E0609 10:50:53.988995     244 server.go:292] "Failed to run kubelet" err="failed to run Kubelet: invalid configuration: cgroup-root [\"kubelet\"] doesn't exist"
@BenTheElder
Copy link
Member

Did you follow https://kind.sigs.k8s.io/docs/user/using-wsl2/ ?

@BenTheElder BenTheElder added the kind/support Categorizes issue or PR as a support question. label Jun 11, 2021
@BenTheElder BenTheElder self-assigned this Jun 22, 2021
@BenTheElder
Copy link
Member

#2323 now has more details and seems to be a dupe.
given lack of follow up here, closing and merging with #2323

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/support Categorizes issue or PR as a support question.
Projects
None yet
Development

No branches or pull requests

2 participants