Virtualbox 虚拟机上的 Kubernetes 集群 - pod 无法 ping 通主机

问题描述 投票:0回答:1

我正在运行 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?
kubernetes-ingress
1个回答
0
投票

我发现笔记本电脑中安装的诺顿防病毒软件启用了防火墙,阻止了数据包。我禁用了 Norton Antivirus 的智能防火墙,问题已解决。

© www.soinside.com 2019 - 2024. All rights reserved.