mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-04 15:05:20 +00:00
enable gc by default
This commit is contained in:
@@ -124,7 +124,7 @@ func (s *APIServer) AddFlags(fs *pflag.FlagSet) {
|
||||
"e.g., setting empty UID in update request to its existing value. This flag can be turned off "+
|
||||
"after we fix all the clients that send malformed updates.")
|
||||
|
||||
fs.BoolVar(®istry.EnableGarbageCollector, "enable-garbage-collector", false, ""+
|
||||
fs.BoolVar(®istry.EnableGarbageCollector, "enable-garbage-collector", true, ""+
|
||||
"Enables the generic garbage collector. MUST be synced with the corresponding flag "+
|
||||
"of the kube-controller-manager.")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user