Skip to content
kornercode-controller

kornercode-controller

Command-line flags of the kornercode-controller binary, generated from its --help output.

Usage of dist/kornercode-controller:
  -cluster-name string
    	The cluster name (default to env variable CLUSTER_NAME)
  -enable-http2
    	If set, HTTP/2 will be enabled for the metrics and webhook servers
  -health-probe-bind-address string
    	The address the probe endpoint binds to. (default ":8081")
  -kubeconfig string
    	Paths to a kubeconfig. Only required if out-of-cluster.
  -leader-elect
    	Enable leader election for controller manager. Enabling this will ensure there is only one active controller manager.
  -metrics-bind-address string
    	The address the metrics endpoint binds to. Use :8443 for HTTPS or :8080 for HTTP, or leave as 0 to disable the metrics service. (default "0")
  -metrics-cert-key string
    	The name of the metrics server key file. (default "tls.key")
  -metrics-cert-name string
    	The name of the metrics server certificate file. (default "tls.crt")
  -metrics-cert-path string
    	The directory that contains the metrics server certificate.
  -metrics-secure
    	If set, the metrics endpoint is served securely via HTTPS. Use --metrics-secure=false to use HTTP instead. (default true)
  -namespace string
    	The namespace in which application is deployed
  -webhook-cert-key string
    	The name of the webhook key file. (default "tls.key")
  -webhook-cert-name string
    	The name of the webhook certificate file. (default "tls.crt")
  -webhook-cert-path string
    	The directory that contains the webhook certificate.
  -zap-devel
    	Development Mode defaults(encoder=consoleEncoder,logLevel=Debug,stackTraceLevel=Warn). Production Mode defaults(encoder=jsonEncoder,logLevel=Info,stackTraceLevel=Error) (default true)
  -zap-encoder value
    	Zap log encoding (one of 'json' or 'console')
  -zap-log-level value
    	Zap Level to configure the verbosity of logging. Can be one of 'debug', 'info', 'error', 'panic'or any integer value > 0 which corresponds to custom debug levels of increasing verbosity
  -zap-stacktrace-level value
    	Zap Level at and above which stacktraces are captured (one of 'info', 'error', 'panic').
  -zap-time-encoding value
    	Zap time encoding (one of 'epoch', 'millis', 'nano', 'iso8601', 'rfc3339' or 'rfc3339nano'). Defaults to 'epoch'.