From 4a99a6eb12c7a7be6179b8eb3a0ec3bbeefadab7 Mon Sep 17 00:00:00 2001 From: Rastko Sarcevic Date: Fri, 16 Apr 2021 13:24:43 +0200 Subject: [PATCH] Deleted deprecated lines --- pkg/kubelet/config/flags.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/pkg/kubelet/config/flags.go b/pkg/kubelet/config/flags.go index 8fcf742a739..80d0c77f41d 100644 --- a/pkg/kubelet/config/flags.go +++ b/pkg/kubelet/config/flags.go @@ -88,8 +88,6 @@ func (s *ContainerRuntimeOptions) AddFlags(fs *pflag.FlagSet) { // General settings. fs.StringVar(&s.ContainerRuntime, "container-runtime", s.ContainerRuntime, "The container runtime to use. Possible values: 'docker', 'remote'.") fs.StringVar(&s.RuntimeCgroups, "runtime-cgroups", s.RuntimeCgroups, "Optional absolute name of cgroups to create and run the runtime in.") - _ = fs.Bool("redirect-container-streaming", false, "[REMOVED]") // TODO: Delete in v1.22 - fs.MarkDeprecated("redirect-container-streaming", "Container streaming redirection has been removed from the kubelet as of v1.20, and this flag will be removed in v1.22. For more details, see https://git.k8s.io/enhancements/keps/sig-node/1558-streaming-proxy-redirects/README.md") // Docker-specific settings. fs.StringVar(&s.DockershimRootDirectory, "experimental-dockershim-root-directory", s.DockershimRootDirectory, "Path to the dockershim root directory.")