ssh capv@<node-ip>), it is seen that the following components are in a running state: kube-proxy, kube-vip, kube-controller-manager, etcd, kube-apiserver and kube-scheduler.
systemctl status kubelet.service), but the logs continuously show that the CNI is not initialized:journalctl -xeu kubelet
"Container runtime network not ready" networkReady="NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized"
TKGm 2.4.0+
E0101 12:00:00.000000 1 controller.go:329] "Reconciler error" err="failed to create cluster accessor: error creating http client and mapper for remote cluster \"default/workload-cluster\": error creating client for remote cluster \"default/workload-cluster\": error getting rest mapping: failed to get API group resources: unable to retrieve the complete list of server APIs: v1: Get \"https://<ip>:6443/api/v1?timeout=10s\": net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers)" controller="machine" controllerGroup="cluster.x-k8s.io" controllerKind="Machine" Machine="default/workload-cluster-controlplane-####" namespace="default" name="workload-cluster-controlplane-####" reconcileID=""
Allow port 6443 in the firewall configuration for the cluster to be deployed successfully.
Review the below documents to ensure proper networking configuration: