未验证 提交 e6b60fb3 编写于 作者: T Thomas Strömberg 提交者: GitHub

Merge pull request #3442 from brb/2828-network-plugin-cni

Pass network-plugin value to kubelet
......@@ -309,6 +309,11 @@ func NewKubeletConfig(k8s config.KubernetesConfig) (string, error) {
}
extraOpts = SetContainerRuntime(extraOpts, k8s.ContainerRuntime)
if k8s.NetworkPlugin != "" {
extraOpts["network-plugin"] = k8s.NetworkPlugin
}
extraFlags := convertToFlags(extraOpts)
// parses a map of the feature gates for kubelet
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册