code: func newHealthzHandler(config *kubeschedulerconfig.KubeSchedulerConfiguration, separateMetrics bool, checks ...healthz.HealthzChecker) http.Handler {
  	pathRecorderMux := mux.NewPathRecorderMux("kube-scheduler")
  	healthz.InstallHandler(pathRecorderMux, checks...)
  	if !separateMetrics {
  		installMetricHandler(pathRecorderMux)
  	}
  	if config.EnableProfiling {
  		routes.Profiling{}.Install(pathRecorderMux)
  		if config.EnableContentionProfiling {
  			goruntime.SetBlockProfileRate(1)
  		}
  	}
  	return pathRecorderMux
  }
docs: // newHealthzHandler creates a healthz server from the config, and will also
  // embed the metrics handler if the healthz and metrics address configurations
  // are the same.