我正在运行 Kubernetes 集群,在我的笔记本电脑中运行的 VirtualBox 虚拟机上有一个主节点和一个工作节点。
Laptop I.P. 10.5.48.152
Master Node I.P. 10.5.48.183
Worker Node I.P. 10.5.48.184
The nodes are able to ping each other.
Running a busybox pod in worker node.
The below command is working in the worker node.
*$ kubectl exec --stdin --tty busybox -- ping 10.5.48.184*
But the below command is not working.
*$ kubectl exec --stdin --tty busybox -- ping 10.5.48.152*
What needs to be done so that pod can ping external I.P. 10.5.48.152?
我发现笔记本电脑中安装的诺顿防病毒软件启用了防火墙,阻止了数据包。我禁用了 Norton Antivirus 的智能防火墙,问题已解决。