如何在k8s节点上运行多个网络接口?

时间:2019-06-26 05:44:53

标签: kubernetes openshift

在K8s v1.13.4上运行Openshift 4.1。我正在尝试向我的计算节点添加第二个网络(用于NFS存储),并且一旦这样做,该节点就会停止报告NodeReady

请参阅以下来自kubelet的日志。完全丢失了。我如何向节点添加另一个接口?

v1.13.4

FieldPath:""}): type: 'Normal' reason: 'NodeReady' Node compute-0 status is now: NodeReady
Jun 26 05:41:22 compute-0 hyperkube[923]: E0626 05:41:22.367174     923 kubelet_node_status.go:380] Error updating node status, will retry: failed to patch status "{\"status\":{\"$setElementOrder/addresses\":[{\"type\":\"ExternalIP\"},{\"type\":\"InternalIP\"},{\"type\":\"ExternalIP\"},{\"type\":\"InternalIP\"},{\"type\":\"Hostname\"}],\"$setElementOrder/conditions\":[{\"type\":\"MemoryPressure\"},{\"type\":\"Dis

...

Jun 26 05:41:22 compute-0 hyperkube[923]: [map[address:10.90.49.111 type:ExternalIP] map[type:ExternalIP address:10.90.51.94] map[address:10.90.49.111 type:InternalIP] map[address:10.90.51.94 type:InternalIP]]
Jun 26 05:41:22 compute-0 hyperkube[923]:  doesn't match $setElementOrder list:

1 个答案:

答案 0 :(得分:1)

解决方案是从群集kubectl delete node compute-0中删除节点,重新启动节点,然后让ignition重新将其加入群集。

这是一个已知的错误