mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-17 15:13:08 +00:00
kubelet: Move pod infra container image setting to dockertools.
This commit is contained in:
@@ -120,7 +120,7 @@ func NewKubeletServer() *KubeletServer {
|
||||
Address: util.IP(net.ParseIP("0.0.0.0")),
|
||||
Port: ports.KubeletPort,
|
||||
ReadOnlyPort: ports.KubeletReadOnlyPort,
|
||||
PodInfraContainerImage: kubelet.PodInfraContainerImage,
|
||||
PodInfraContainerImage: dockertools.PodInfraContainerImage,
|
||||
RootDirectory: defaultRootDir,
|
||||
RegistryBurst: 10,
|
||||
EnableDebuggingHandlers: true,
|
||||
@@ -367,7 +367,7 @@ func SimpleKubelet(client *client.Client,
|
||||
HostnameOverride: hostname,
|
||||
RootDirectory: rootDir,
|
||||
ManifestURL: manifestURL,
|
||||
PodInfraContainerImage: kubelet.PodInfraContainerImage,
|
||||
PodInfraContainerImage: dockertools.PodInfraContainerImage,
|
||||
Port: port,
|
||||
Address: util.IP(net.ParseIP(address)),
|
||||
EnableServer: true,
|
||||
|
Reference in New Issue
Block a user