CLOUD/Kubernetes
에러해결 Unable to update cni config: No networks found in /etc/cni/net.d
헐리
2021. 9. 10. 10:53
[쿠버네티스] 네크워크 플러그인과 CNI
Network Plugin이란 무엇인가 Plugin 이란 컴퓨터에 추가 프로그램을 설치하여 특정 기능을 수행할 수 있도록 하는 소프트웨어이다. 쿠버네티스의Netwrok Plugin이란 비슷한 맥락으로, 쿠버네티스에 추가
jmholly.tistory.com
참조해서..
cd /etc/cni/net.d
vim 10-flannel.conflist
{
"name": "cbr0",
"plugins": [
{
"type": "flannel",
"delegate": {
"hairpinMode": true,
"isDefaultGateway": true
}
},
{
"type": "portmap",
"capabilities": {
"portMappings": true
}
}
]
}