You can register nil sink which discards all klog logs.
// Passing a nil sink will create a Logger which discards all log lines. klog.SetLogger(logr.New(nil))