All of the jobs in the test-network-k8s.yaml workflow fail with errors similar to this:
ERROR: failed to create cluster: failed to init node with kubeadm: command "docker exec --privileged kind-control-plane kubeadm init --config=/kind/kubeadm.conf --skip-token-print --v=6" failed with error: exit status 1
Command Output: I0128 21:32:02.099389 207 initconfiguration.go:260] loading configuration from "/kind/kubeadm.conf"
W0128 21:32:02.099846 207 common.go:100] your configuration file uses a deprecated API spec: "kubeadm.k8s.io/v1beta3" (kind: "ClusterConfiguration"). Please use 'kubeadm config migrate --old-config old-config-file --new-config new-config-file', which will write the new, similar spec using a newer API version.
W0128 21:32:02.100237 207 common.go:100] your configuration file uses a deprecated API spec: "kubeadm.k8s.io/v1beta3" (kind: "InitConfiguration"). Please use 'kubeadm config migrate --old-config old-config-file --new-config new-config-file', which will write the new, similar spec using a newer API version.
W0128 21:32:02.100549 207 common.go:100] your configuration file uses a deprecated API spec: "kubeadm.k8s.io/v1beta3" (kind: "JoinConfiguration"). Please use 'kubeadm config migrate --old-config old-config-file --new-config new-config-file', which will write the new, similar spec using a newer API version.
W0128 21:32:02.100782 207 initconfiguration.go:361] [config] WARNING: Ignored configuration document with GroupVersionKind kubeadm.k8s.io/v1beta3, Kind=JoinConfiguration
[init] Using Kubernetes version: v1.35.0
[certs] Using certificateDir folder "/etc/kubernetes/pki"
I0128 21:32:02.101765 207 certs.go:111] creating a new certificate authority for ca
[certs] Generating "ca" certificate and key
I0128 21:32:02.149978 207 certs.go:472] validating certificate period for ca certificate
[certs] Generating "apiserver" certificate and key
[certs] apiserver serving cert is signed for DNS names [kind-control-plane kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local localhost] and IPs [10.96.0.1 172.18.0.2 127.0.0.1]
[certs] Generating "apiserver-kubelet-client" certificate and key
I0128 21:32:02.259787 207 certs.go:111] creating a new certificate authority for front-proxy-ca
[certs] Generating "front-proxy-ca" certificate and key
I0128 21:32:02.355405 207 certs.go:472] validating certificate period for front-proxy-ca certificate
[certs] Generating "front-proxy-client" certificate and key
I0128 21:32:02.415463 207 certs.go:111] creating a new certificate authority for etcd-ca
[certs] Generating "etcd/ca" certificate and key
I0128 21:32:02.455783 207 certs.go:472] validating certificate period for etcd/ca certificate
[certs] Generating "etcd/server" certificate and key
[certs] etcd/server serving cert is signed for DNS names [kind-control-plane localhost] and IPs [172.18.0.2 127.0.0.1 ::1]
[certs] Generating "etcd/peer" certificate and key
[certs] etcd/peer serving cert is signed for DNS names [kind-control-plane localhost] and IPs [172.18.0.2 127.0.0.1 ::1]
[certs] Generating "etcd/healthcheck-client" certificate and key
[certs] Generating "apiserver-etcd-client" certificate and key
I0128 21:32:02.593927 207 certs.go:77] creating new public/private key files for signing service account users
[certs] Generating "sa" key and public key
[kubeconfig] Using kubeconfig folder "/etc/kubernetes"
I0128 21:32:02.650844 207 kubeconfig.go:111] creating kubeconfig file for admin.conf
[kubeconfig] Writing "admin.conf" kubeconfig file
I0128 21:32:02.712766 207 kubeconfig.go:111] creating kubeconfig file for super-admin.conf
[kubeconfig] Writing "super-admin.conf" kubeconfig file
I0128 21:32:02.904332 207 kubeconfig.go:111] creating kubeconfig file for kubelet.conf
[kubeconfig] Writing "kubelet.conf" kubeconfig file
I0128 21:32:02.940341 207 kubeconfig.go:111] creating kubeconfig file for controller-manager.conf
[kubeconfig] Writing "controller-manager.conf" kubeconfig file
I0128 21:32:02.959152 207 kubeconfig.go:111] creating kubeconfig file for scheduler.conf
[kubeconfig] Writing "scheduler.conf" kubeconfig file
[etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests"
I0128 21:32:03.005512 207 local.go:67] [etcd] wrote Static Pod manifest for a local etcd member to "/etc/kubernetes/manifests/etcd.yaml"
I0128 21:32:03.005548 207 manifests.go:125] [control-plane] getting StaticPodSpecs
[control-plane] Using manifest folder "/etc/kubernetes/manifests"
[control-plane] Creating static Pod manifest for "kube-apiserver"
I0128 21:32:03.005794 207 certs.go:472] validating certificate period for CA certificate
I0128 21:32:03.005870 207 manifests.go:151] [control-plane] adding volume "ca-certs" for component "kube-apiserver"
I0128 21:32:03.005883 207 manifests.go:151] [control-plane] adding volume "etc-ca-certificates" for component "kube-apiserver"
I0128 21:32:03.005888 207 manifests.go:151] [control-plane] adding volume "k8s-certs" for component "kube-apiserver"
I0128 21:32:03.005892 207 manifests.go:151] [control-plane] adding volume "usr-local-share-ca-certificates" for component "kube-apiserver"
I0128 21:32:03.005896 207 manifests.go:151] [control-plane] adding volume "usr-share-ca-certificates" for component "kube-apiserver"
[control-plane] Creating static Pod manifest for "kube-controller-manager"
I0128 21:32:03.006478 207 manifests.go:178] [control-plane] wrote static Pod manifest for component "kube-apiserver" to "/etc/kubernetes/manifests/kube-apiserver.yaml"
I0128 21:32:03.006496 207 manifests.go:125] [control-plane] getting StaticPodSpecs
I0128 21:32:03.006705 207 manifests.go:151] [control-plane] adding volume "ca-certs" for component "kube-controller-manager"
I0128 21:32:03.006714 207 manifests.go:151] [control-plane] adding volume "etc-ca-certificates" for component "kube-controller-manager"
I0128 21:32:03.006717 207 manifests.go:151] [control-plane] adding volume "flexvolume-dir" for component "kube-controller-manager"
I0128 21:32:03.006719 207 manifests.go:151] [control-plane] adding volume "k8s-certs" for component "kube-controller-manager"
I0128 21:32:03.006721 207 manifests.go:151] [control-plane] adding volume "kubeconfig" for component "kube-controller-manager"
I0128 21:32:03.006725 207 manifests.go:151] [control-plane] adding volume "usr-local-share-ca-certificates" for component "kube-controller-manager"
I0128 21:32:03.006732 207 manifests.go:151] [control-plane] adding volume "usr-share-ca-certificates" for component "kube-controller-manager"
I0128 21:32:03.007302 207 manifests.go:178] [control-plane] wrote static Pod manifest for component "kube-controller-manager" to "/etc/kubernetes/manifests/kube-controller-manager.yaml"
I0128 21:32:03.007319 207 manifests.go:125] [control-plane] getting StaticPodSpecs
[control-plane] Creating static Pod manifest for "kube-scheduler"
I0128 21:32:03.007517 207 manifests.go:151] [control-plane] adding volume "kubeconfig" for component "kube-scheduler"
I0128 21:32:03.007903 207 manifests.go:178] [control-plane] wrote static Pod manifest for component "kube-scheduler" to "/etc/kubernetes/manifests/kube-scheduler.yaml"
I0128 21:32:03.007920 207 kubelet.go:69] Stopping the kubelet
[kubelet-start] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"
[kubelet-start] Writing kubelet configuration to file "/var/lib/kubelet/instance-config.yaml"
[patches] Applied patch of type "application/strategic-merge-patch+json" to target "kubeletconfiguration"
[kubelet-start] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml"
[kubelet-start] Starting the kubelet
I0128 21:32:03.129737 207 loader.go:405] Config loaded from file: /etc/kubernetes/admin.conf
I0128 21:32:03.130174 207 envvar.go:172] "Feature gate default state" feature="ClientsAllowCBOR" enabled=false
I0128 21:32:03.130216 207 envvar.go:172] "Feature gate default state" feature="ClientsPreferCBOR" enabled=false
I0128 21:32:03.130225 207 envvar.go:172] "Feature gate default state" feature="InOrderInformers" enabled=true
I0128 21:32:03.130232 207 envvar.go:172] "Feature gate default state" feature="InOrderInformersBatchProcess" enabled=true
I0128 21:32:03.130240 207 envvar.go:172] "Feature gate default state" feature="InformerResourceVersion" enabled=true
I0128 21:32:03.130262 207 envvar.go:172] "Feature gate default state" feature="WatchListClient" enabled=true
[wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests"
[kubelet-check] Waiting for a healthy kubelet at http://127.0.0.1:10248/healthz. This can take up to 4m0s
[kubelet-check] The kubelet is not healthy after 4m0.001144769s
Unfortunately, an error has occurred, likely caused by:
- The kubelet is not running
- The kubelet is unhealthy due to a misconfiguration of the node in some way (required cgroups disabled)
If you are on a systemd-powered system, you can try to troubleshoot the error with the following commands:
- 'systemctl status kubelet'
- 'journalctl -xeu kubelet'
error: error execution phase wait-control-plane: failed while waiting for the kubelet to start: The HTTP call equal to 'curl -sSL http://127.0.0.1:10248/healthz' returned error: Get "http://127.0.0.1:10248/healthz": context deadline exceeded
All of the jobs in the test-network-k8s.yaml workflow fail with errors similar to this: