mirror of https://github.com/k3s-io/k3s
add warnings on using pod-infra-container-image for remote container runtime
parent
a048ca888a
commit
de6544b0fa
|
@ -169,6 +169,10 @@ HTTP server: The kubelet can also listen for HTTP and respond to a simple API
|
|||
glog.Fatal(err)
|
||||
}
|
||||
|
||||
if kubeletFlags.ContainerRuntime == "remote" && cleanFlagSet.Changed("pod-infra-container-image") {
|
||||
glog.Warning("Warning: For remote container runtime, --pod-infra-container-image is ignored in kubelet, which should be set in that remote runtime instead")
|
||||
}
|
||||
|
||||
// load kubelet config file, if provided
|
||||
if configFile := kubeletFlags.KubeletConfigFile; len(configFile) > 0 {
|
||||
kubeletConfig, err = loadConfigFile(configFile)
|
||||
|
|
Loading…
Reference in New Issue