documents

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 83769a1c1cc58a19f361b610084cba21a3bfa9f7
parent 80d078bb1048522c8f426443c7ce69bb115dbb8a
Author: Minerva_juppiter <94231606+minerva-jupiter@users.noreply.github.com>
Date:   Tue, 15 Jul 2025 22:50:57 +0900

Create 20250715-con-history
Diffstat:
Ak8s/20250715-con-history | 26++++++++++++++++++++++++++
1 file changed, 26 insertions(+), 0 deletions(-)

diff --git a/k8s/20250715-con-history b/k8s/20250715-con-history @@ -0,0 +1,26 @@ +``` + 1 su - root + 2 sudo kubeadm init + 3 sudo kubeadm init --ignore-preflight-errors=Mem + 4 mkdir -p $HOME/.kube + 5 sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config + 6 sudo chown $(id -u):$(id -g) $HOME/.kube/config + 7 wget https://raw.githubusercontent.com/projectcalico/calico/master/manifests/calico.yaml + 8* kubectl apply -f calico.yaml [B + 9 kubelet get nodes + 10 kubectl get nodes + 11* + 12 ls -l /etc/cni/net.d/ + 13 sudo ls -l /etc/cni/net.d/ + 14 kubectl get pods -o wide -n kube-system + 15 kubectl delete pod calico-node-7qmm6 -n kube-system + 16 kubectl get nodes + 17 kubectl get pods -A + 18 history +``` + +at 10 i was get NotReady +and `kubectl describe nodes`return +`container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:Network plugin returns error: cni plugin not initialized` +so i check exist /etc/cni/net.d/ +and restart pod of calico