Open inadquatecoding opened 2 years ago
@inadquatecoding You can modify the DaemonSet.spec.template.spec.nodeAffinity of the flannel yaml file to avoid scheduling the flannel on your edge node, and use edgeMesh instead.
Isn't there a solution to deploy flannel in kubeedge nodes?
how to solve the problem?
What happened and what you expected to happen: joined my edgenode to my cloudcore but after the edgenode joins to the cloudcore it automatically trys to deploy a flannel container which subsequently fails.
Expectation is that a flannel pod that is automatically deployed within the edgenode after joining to the cloud core would also automagically work.
How to reproduce it (as minimally and precisely as possible): on Core:
-local ip for core node is 10.43.6.20 (same as my ens19 interface) -kubeadm init --pod-network-cidr=10.50.0.0/24 -kubectl apply -f https://raw.githubusercontent.com/flannel-io/flannel/master/Documentation/kube-flannel.yml -keadm init -keadm getttoken
edge node: keadm join --cloudcore-ipport=10.43.6.20:10000 --token=
Anything else we need to know?:
Running/Deployed pods:
Edge core logs (the rest is attached) journalctl --unit edgecore.service kubeedgeEdgeNode.log
Additional Information:
EdgeNode Description:
Environment:
Kubernetes version (use
kubectl version
): 1.21.0KubeEdge version(e.g.
cloudcore --version
andedgecore --version
): Cloudcore: v1.10.0 Edgecore: v1.10.0Cloud nodes Environment:
- Hardware configuration (e.g. `lscpu`): x86_64 intel xeon e5 - OS (e.g. `cat /etc/os-release`): Ubuntu 20.04.04 LTS - Kernel (e.g. `uname -a`): 5.13.0-35-generic #40~20.04.1-Ubuntu - Go version (e.g. `go version`): 1.17.8 - Others:Edge nodes Environment:
- edgecore version (e.g. `edgecore --version`): v1.10.0 - Hardware configuration (e.g. `lscpu`): x86_64 intel xeon e5 - OS (e.g. `cat /etc/os-release`): Ubuntu 20.04.04 LTS - Kernel (e.g. `uname -a`): 5.13.0-35-generic #40~20.04.1-Ubuntu - Go version (e.g. `go version`): 1.17.8 - Others: