We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
What happened: Edge node's pod unable to access outside
What you expected to happen: Edge node's pod able to access outside
How to reproduce it (as minimally and precisely as possible): Cloud:
sudo -E keadm init \ --advertise-address ${KEADM_THE_EXPOSED_IP} \ --profile version=v1.15.0 \ --kube-config=${KUBECONFIG} \ --set cloudCore.service.enable=true \ --set cloudCore.modules.dynamicController.enable=true
EdgeMesh:
helm install edgemesh --namespace kubeedge \ --set agent.psk=`openssl rand -base64 32` \ --set agent.relayNodes[0].nodeName=${KEADM_THE_CLOUD},agent.relayNodes[0].advertiseAddress={${KEADM_THE_EXPOSED_IP}} \ https://raw.githubusercontent.com/kubeedge/edgemesh/main/build/helm/edgemesh.tgz
Edge node join:
sudo keadm join --cloudcore-ipport="${KEADM_THE_EXPOSED_IP}":10000 \ --token=${KEADM_TOKEN} \ --kubeedge-version=v1.15.0 \ --remote-runtime-endpoint="unix:///var/run/containerd/containerd.sock" \ --runtimetype=remote \ --cgroupdriver=systemd \ --edgenode-name=${KUBEEDGE_NODE_NAME}
Please refer here for edgecore configuration edgecore.txt
I tested with test case here: https://edgemesh.netlify.app/guide/test-case.html And it is working correctly
$ kubectl exec -it alpine-test -- sh (in the container environment) / # curl hostname-svc:12345 hostname-edge-5c75d56dc4-rq57t
However, if I doing doing outwards access from edge node's pod, I can't. Any idea why?
Anything else we need to know?:
Environment:
EdgeMesh version: latest
Kubernetes version (use kubectl version): 1.23.17
kubectl version
KubeEdge version(e.g. cloudcore --version and edgecore --version): 1.15
cloudcore --version
edgecore --version
lscpu
cat /etc/os-release
uname -a
go version
The text was updated successfully, but these errors were encountered:
I found the root cause, iptables forward is not setting correctly: sudo iptables -P FORWARD ACCEPT
Sorry, something went wrong.
No branches or pull requests
What happened:
Edge node's pod unable to access outside
What you expected to happen:
Edge node's pod able to access outside
How to reproduce it (as minimally and precisely as possible):
Cloud:
EdgeMesh:
Edge node join:
Please refer here for edgecore configuration
edgecore.txt
I tested with test case here: https://edgemesh.netlify.app/guide/test-case.html
And it is working correctly
However, if I doing doing outwards access from edge node's pod, I can't. Any idea why?
Anything else we need to know?:
Environment:
EdgeMesh version: latest
Kubernetes version (use
kubectl version
): 1.23.17KubeEdge version(e.g.
cloudcore --version
andedgecore --version
): 1.15Cloud nodes Environment:
lscpu
):cat /etc/os-release
): Ubuntu 22.04.2 LTSuname -a
): 6.1go version
):Edge nodes Environment:
edgecore --version
):lscpu
):cat /etc/os-release
): Ubuntu 22.04.2 LTSuname -a
): 6.1go version
):The text was updated successfully, but these errors were encountered: