INNER CODE UNIT · Go
main
openkruise/kruise · main.go:95
func main() {
var metricsAddr, pprofAddr string
var healthProbeAddr string
var enableLeaderElection, enablePprof, allowPrivileged bool
var leaderElectionNamespace string
var namespace string
var syncPeriodStr string
var leaseDuration time.Duration
var renewDeadLine time.Duration
var leaderElectionResourceLock string
var leaderElectionId string
var retryPeriod time.Duration
var controllerCacheSyncTimeout time.Duration
var webhookInitializeTimeout time.Duration
var defaultTtlsecondsForAlwaysNodeimage int
flag.StringVar(&metricsAddr, "metrics-addr", ":8080", "The address the metric endpoint binds to.")
flag.StringVar(&healthProbeAddr, "health-probe-addr", ":8000", "The address the healthz/readyz endpoint binds to.")