-
Notifications
You must be signed in to change notification settings - Fork 130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can not generate the iptables rules #155
Comments
kubectl apply -f build/crds/istio/ |
|
Is your OS centos8? You can refer to #30 |
/assign |
My OS is centos8, i have deployed the kubeedge 1.7 in another server , but the OS version is same. In the server where i deployed the kubeedge 1.7 , i can use command iptables to see the iptables rules about EDGE-MESH |
The old version of edgemesh code is written in kubeedge and runs as a process. It will directly configure the ipatbles rules of your host, so you can see it directly on the host. The new version of edgemesh is extracted from kubeedge as a separate module and runs as a container. If you are using centos8, the iptables rules are only visible in the container. Why is there such a situation please read carefully #30 I mentioned above.
Then you can see the iptables rules created by edgemesh-agent. (By the way, if your machine has previously deployed an old version of kubeedge and enabled the edgeMesh module, then it will have residual iptables rules on your machine: EDGE-MESH chain) ====== 中文翻译 ======
然后你就可以看到edgemesh-agent创建的iptables规则了。 (顺带一提,如果你的机器之前部署过老版本的kubeedge并且开启了edgeMesh模块,那么它可能会在你的机器上有残留的iptables规则:EDGE-MESH链) |
|
Check out edgemesh-agent log:
You will see Module edgedns registered successfully Check out port 53:
Or
|
Is the image ID correct?
0229a8131577 is image ID |
YES,the image ID is 0229a8131577 |
I don't think this will cause any problems. Maybe these errors are the cause of the problem: Failed to watch xxx... Is edge list-watch normal? try |
Will the list-watch request be slow? Will it be longer than 5s? By the way, is your cloudcore container started or process started? |
Someone encountered the same problem as you, and we have solved it, please refer to: #93 The main thing is to modify the serviceaccount of cloudcore |
|
Yep, the edge list-watch relies on cloudcore's dynamicController. You only need to reconfigure the clusterrole of cloudcore, and then restart cloudcore.
|
Thank you very much,now the 53 port is listening by edgemesh-ag on my edge node,but when i curl myservice uese servicename, the dns module in edgemesh-agent logs can not found my service,and i found the cloudcore has some error logs,the log is like the blow image |
Have you edited cloudcore clusterrole, and restart it? |
Yes, I have edited cloudcore clusterrole and restart the cloucore. |
Is the image you use kubeedge/edgemesh-agent:latest? |
Yes, I have edited cloudcore clusterrole and restart the cloucore.
I will try the latest one |
If you want to use latest, you need delete edgemesh serviceaccount, clusterrole, clusterrolebind, configmap, daemonset, deployment, secret, then re-create them.
|
This is not an error, your edgemesh-agent is running normally |
But when i curl my service on the edge node use the service name ,it logs can not resolve the servicename.And the edgemesh-agent logs "mysvc1" not found |
Try to directly access the cluster IP of the service, example:
|
Thanks for your patience and support, now my edgemesh is running normally,and i can curl my service use servicename,thank you very much |
Congratulations~👍 |
I deploy edmesh-agent-edge on my edge server,and the log is like the image below,but there are no iptables rules generate about the edgemesh . the port 53 is not listening .
The text was updated successfully, but these errors were encountered: