其他分享
首页 > 其他分享> > k8s集群网络组件calico指定网卡

k8s集群网络组件calico指定网卡

作者:互联网

  1. 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"
    

标签:node,name,value,网卡,datastore,k8s,calico
来源: https://www.cnblogs.com/lihaha7/p/15339787.html