-
k8s集群网络组件calico指定网卡
containers: # Runs calico-node container on each Kubernetes node. This # container programs network policy and routes on each # host. - name: calico-node image: calico/node:v3.15.1 env: # Use Kubernetes API as the backing datastore. - name: DATASTORE_TYPE value: "kubernetes" # Set interface name 添加下方两行 - name: IP_AUTODETECTION_METHOD value: interface=ens33 # Wait for the datastore. - name: WAIT_FOR_DATASTORE value: "true"