쿠버네티스 설치 오류 [ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables does not exist
5103
작성한 질문수 1
k8s-master: Running provisioner: shell... k8s-master: Running: inline script k8s-master: I0628 11:30:40.411653 14444 version.go:255] remote version is much newer: v1.24.2; falling back to: stable-1.22 k8s-master: [init] Using Kubernetes version: v1.22.11 k8s-master: [preflight] Running pre-flight checks k8s-master: [preflight] WARNING: Couldn't create the interface used for talking to the container runtime: docker is required for container runtime: exec: "docker": executable file not found in $PATH k8s-master: error execution phase preflight: [preflight] Some fatal errors occurred: k8s-master: [ERROR FileContent--proc-sys-net-bridge-bridge-nf-call-iptables]: /proc/sys/net/bridge/bridge-nf-call-iptables does not exist k8s-master: [ERROR FileContent--proc-sys-net-ipv4-ip_forward]: /proc/sys/net/ipv4/ip_forward contents are not set to 1 k8s-master: [preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...` k8s-master: To see the stack trace of this error execute with --v=5 or higher k8s-master: failed to load admin kubeconfig: open /root/.kube/config: no such file or directory k8s-master: To see the stack trace of this error execute with --v=5 or higher k8s-master: cp: cannot stat ‘/etc/kubernetes/admin.conf’: No such file or directory k8s-master: chown: cannot access ‘/root/.kube/config’: No such file or directory k8s-master: Loaded plugins: fastestmirror k8s-master: Loading mirror speeds from cached hostfile
답변 3
2
오래된 내용이지만, 해당 문제 해결방법입니다.
modprobe br_netfilter
echo 1 > /proc/sys/net/bridge/bridge-nf-call-iptables
같은 문제를 겪으신 분들께서 참고하시길 바래요.
1
안녕하세요 여러번 재설치 했는데 같은 오류가나와서..
해결방법 또는 제가 어떤부분을 확인해보면될까요..?
0
그러시군요..
일반적으로 초반에 네트워크 세팅을 잘못해서 문제가 발생될 가능성도 큼니다.
강의와는 다르게 네트워크를 임의로 세팅한 부분 없으실까요?
있다면 어떻게 세팅했는지 캡쳐해주시면 같이 확인해보겠습니다.
0
안녕하세요. 해당 에러는 통상 아래 설정이 안되있을때 나는 에러입니다.
-----------------------
# Iptables 커널 옵션 활성화
cat <<EOF > /etc/sysctl.d/k8s.conf
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
EOF
sysctl --system
-----------------------
근데 제 Vagrantfile 스크립트에 있는 내용이라 제대로 안먹혔을리는 없을것 같은데,
에러해결보다 다 지우시고 다시한번 설치해보시길 권해드려요.
이거 지금 부터 들어도 괜찮을까요 ?? 시간이 꽤지난거같은데 .. 뭐 최신하고 아에 안맞을까요 .
0
73
1
pod kubetm/app 에서 image를 갑자기 못가져 오는거 같습니다.
1
71
2
3. Node Schedule 중 pod-5가 마스터 노드에 배치됩니다.
1
79
2
volume hostpath의 강의에 관해 질문이 있습니다.
1
62
2
컨트롤러
1
84
2
네임스페이스+파드
0
83
3
강의영상 과 자료
0
90
2
IP 가 어딨나요?
1
77
2
설치 문제 없는건가요?
1
68
1
xshell 접속오류
1
89
2
[15. ConfigMap, Secret - 실습] Env (File) 실습 시 문의사항
1
98
2
Node Schedule 실습 시 pod3 생성 시 메모리 요청량이 올라가지 않는 사항
1
78
1
Guest OS
1
86
2
kubeTM Blog는 없어진건가요????
1
107
2
yml 작성하다가 에러 발생해서 문의 드립니다.
0
112
2
설치수업중에 질문드립니다.
1
136
2
기초다지기 설치 문의드립니다.
1
203
4
HPA 부분 Auto Scaler 설치하는 링크가 없습니다!!
1
112
3
클러스터 초기화 및 팟 네트워크 세팅시 문제가 있습니다
1
148
1
환경 구성에 있어서 질문드립니다
1
143
2
configMap 파일생성
1
124
2
dashboard에서 pod 생성이 되지 않습니다.
1
150
2
nodePort 서비스 접근 Client sent an HTTP request to an HTTPS server
1
143
2
대시보드 화면이 달라요 ㅠㅠ
1
108
2





