weave 적용했으나 마스터노드가 notReady 에요
847
작성한 질문수 2
weave 적용 했음에도 마스터노드 상태가 notReady 입니다.
원인을 못찾겠어요. 아마도 cni 문제 같은긴한데...
kubeadm reset 한번 하면서 weave 를 삭제하고 /opt/cni/weave 는 없는 상태입니다.
아래 명령어 실행해도 /opt/cni 에 weave plugin이 생기지 않네요.
$ kubectl apply -f "https://cloud.weave.works/k8s/net?k8s-version=$(kubectl version | base64 | tr -d '\n')"
MemoryPressure False Fri, 23 Oct 2020 12:56:41 +0900 Fri, 23 Oct 2020 12:03:12 +0900 KubeletHasSufficientMemory kubelet has sufficient memory available
DiskPressure False Fri, 23 Oct 2020 12:56:41 +0900 Fri, 23 Oct 2020 12:03:12 +0900 KubeletHasNoDiskPressure kubelet has no disk pressure
PIDPressure False Fri, 23 Oct 2020 12:56:41 +0900 Fri, 23 Oct 2020 12:03:12 +0900 KubeletHasSufficientPID kubelet has sufficient PID available
Ready False Fri, 23 Oct 2020 12:56:41 +0900 Fri, 23 Oct 2020 12:03:12 +0900 KubeletNotReady [container runtime status check may not have completed yet, runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized]
답변 3
0
안녕하세요 강사 최일선입니다.
cni 구성에 문제가 있으시다면 weavnet 말고 flannel이나 calico로 시도해보시겠습니까?
계속 업무가 너무 많은터라 빠른 답변을 못드려서 죄송합니다 ㅠ
최대한 빨리 답변 남기도록 노력하겠습니다.
0
swapoff -a 는 설치시 적용해두었습니다.
처음 설치시는 정상적으로 다 이루어집니다. kubeadm reset 이후에 발생합니다.
로그는 cni 구성 실패로 발생하는 내용들인 것 같습니다.
W1025 14:49:09.142187 22111 nvidia.go:61] NVIDIA GPU metrics will not be available: no NVIDIA devices found
W1025 14:49:09.174784 22111 docker_service.go:565] Hairpin mode set to "promiscuous-bridge" but kubenet is not enabled, falling back to "hairpin-veth"
W1025 14:49:09.174948 22111 cni.go:239] Unable to update cni config: no networks found in /etc/cni/net.d
W1025 14:49:47.681811 22661 cni.go:239] Unable to update cni config: no networks found in /etc/cni/net.d
E1025 14:49:48.986306 22661 aws_credentials.go:77] while getting AWS credentials NoCredentialProviders: no valid providers in chain. Deprecated.
For verbose messaging see aws.Config.CredentialsChainVerboseErrors
E1025 14:49:48.995962 22661 kubelet.go:1218] Image garbage collection failed once. Stats initialization may not have completed yet: failed to get imageFs info: unable to find data in memory cache
E1025 14:49:49.020108 22661 kubelet.go:2103] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized
E1025 14:49:49.022834 22661 kubelet.go:1765] skipping pod synchronization - [container runtime status check may not have completed yet, PLEG is not healthy: pleg has yet to be successful]
E1025 14:49:49.053945 22661 factory.go:354] devicemapper filesystem stats will not be reported: unable to find thin_ls binary
E1025 14:49:49.125220 22661 kubelet.go:1765] skipping pod synchronization - container runtime status check may not have completed yet
F1025 14:49:49.183549 22661 kubelet.go:1296] Failed to start ContainerManager failed to initialize top level QOS containers: failed to update top level Burstable QOS cgroup : failed to set supported cgroup subsystems for cgroup [kubepods burstable]: failed to find subsystem mount for required subsystem: pids
0
안녕하세요 강사 최일선입니다.
혹시 sudo swapoff -a 명령은 잘 수행하셨나요?
대부분 시작되지 않는 현상이 이문제로 발생하곤 합니다.
journalctl -u kubelet -f를 사용해 서비스의 로그를 확인해보시는 것도 좋을 것 같아요.
감사합니다.
cilium install 오류
0
83
2
external-ip로 지정된 ip주소로 접속되지 않습니다.
0
72
1
Google cloud에서 클러스터를 만드는 중에 다음과 같은 오류가 발생합니다.
0
107
2
강의가 중간에 끊긴 느낌이 듭니다.
0
70
1
이론 강의 pdf 자료 다운로드 문의
0
141
2
vmware 로 가상서버 여러 대 띄울때 고정ip 로 각각 할당하는 법 알려주세요
0
1378
2
강의해주시는 별도의 강의 자료는 없나요 ??
0
205
1
스토리지 클래스
0
221
1
버전관리
0
179
1
강의 흐름 이상
0
258
1
4 쿠버네티스 워크로드에서부터 갑자기
0
252
1
영상이 나오지 않습니다.
1
219
1
kubeadm init 실패(+join할 때도 참고)
2
1483
0
2024년 3월 4일 기준 설치
3
1580
2
loadbalancer 문의 드립니다.
0
230
1
NodePord local 환경에서 안됨
0
405
2
kubectl apply 와 create 차이점
0
890
1
서비스 DNS 연습문제 중 마지막 요청 실패 질문있습니다 (feat. 서비스 생성 실패 해결방법)
0
307
1
master init error
0
550
2
gasbugs/http-go 이미지 에러
1
369
2
GKE 질문입니다
0
300
1
worker에서 join할 때 오류발생
0
560
2
포트포워딩 및 nfs 관련
0
595
1
sessionAffinity 작동관련 질문
0
503
2





