mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
Deleted a redundant line missing from #91275
Signed-off-by: Zhang Zhanpeng <zhanpeng.zhang@daocloud.io>
This commit is contained in:
parent
b6e4c1c71a
commit
b0b4867ba8
@ -181,20 +181,19 @@ func NewKubeletFlags() *KubeletFlags {
|
|||||||
}
|
}
|
||||||
|
|
||||||
return &KubeletFlags{
|
return &KubeletFlags{
|
||||||
ContainerRuntimeOptions: *NewContainerRuntimeOptions(),
|
ContainerRuntimeOptions: *NewContainerRuntimeOptions(),
|
||||||
CertDirectory: "/var/lib/kubelet/pki",
|
CertDirectory: "/var/lib/kubelet/pki",
|
||||||
RootDirectory: defaultRootDir,
|
RootDirectory: defaultRootDir,
|
||||||
MasterServiceNamespace: metav1.NamespaceDefault,
|
MasterServiceNamespace: metav1.NamespaceDefault,
|
||||||
MaxContainerCount: -1,
|
MaxContainerCount: -1,
|
||||||
MaxPerPodContainerCount: 1,
|
MaxPerPodContainerCount: 1,
|
||||||
MinimumGCAge: metav1.Duration{Duration: 0},
|
MinimumGCAge: metav1.Duration{Duration: 0},
|
||||||
NonMasqueradeCIDR: "10.0.0.0/8",
|
NonMasqueradeCIDR: "10.0.0.0/8",
|
||||||
RegisterSchedulable: true,
|
RegisterSchedulable: true,
|
||||||
RemoteRuntimeEndpoint: remoteRuntimeEndpoint,
|
RemoteRuntimeEndpoint: remoteRuntimeEndpoint,
|
||||||
NodeLabels: make(map[string]string),
|
NodeLabels: make(map[string]string),
|
||||||
RegisterNode: true,
|
RegisterNode: true,
|
||||||
SeccompProfileRoot: filepath.Join(defaultRootDir, "seccomp"),
|
SeccompProfileRoot: filepath.Join(defaultRootDir, "seccomp"),
|
||||||
// prior to the introduction of this flag, there was a hardcoded cap of 50 images
|
|
||||||
EnableCAdvisorJSONEndpoints: false,
|
EnableCAdvisorJSONEndpoints: false,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user