You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Kubernetes集群kube-proxy数量疑问:minikube为何出现两个实例?

问题原因说明
  • minikube 默认不会给 master 节点添加禁止调度的污点,也就是说 master 节点会被当作普通工作节点使用。kube-proxy 是每个集群节点都需要运行的网络组件,负责节点上的服务流量转发,因此会在 master 和 worker 节点上各启动一个 Pod,所以你会看到两个 kube-proxy 实例。
  • 官方文档提到 kube-proxy 是 worker 节点组件,是从角色分工的角度描述的——它的核心职责是处理工作节点的服务流量,但这并不代表 master 节点不会运行它。当 master 节点允许调度 Pod 时,kube-proxy 同样会被部署上去。
  • 你可以执行命令 kubectl describe node <master-node-name> 查看节点属性,若没有 node-role.kubernetes.io/master:NoSchedule 这类污点配置,就能确认 master 节点处于可调度状态。

内容的提问来源于stack exchange,提问作者Fstm

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.08.12 02:06:01