OS Manuals

/usr/bin/injector

Looks for pods initialized with the Dapr annotations, and then creates another container in that pod for the daprd service

From dapr-injector-fips-1.17 1.17.19-r2 (enterprise-packages), captured 2026-11-08 by running injector --help (exit 0). permalink

Usage of injector:
      --enable-metrics                  Enable prometheus metric (default true)
      --healthz-listen-address string   The listening address for the healthz server
      --healthz-port int                The port used for health checks (default 8080)
      --kubeconfig string               (optional) absolute path to the kubeconfig file (default "/tmp/.kube/config")
      --listen-address string           The listen address for the injector service
      --log-as-json                     print log as JSON (default false)
      --log-file string                 Path to a file where logs will be written
      --log-level string                Options are debug, info, warn, error, or fatal (default info) (default "info")
      --metrics-listen-address string   The address for the metrics server (default "0.0.0.0")
      --metrics-port string             The port for the metrics server (default "9090")
      --port int                        The port used for the injector service (default 4000)
      --scheduler-enabled               Marks if scheduler is enabled in the cluster, and address should be patched on sidecars. (default true)
Options (12)
OptionDescriptionSource
--enable-metricsEnable prometheus metric (default true)help
--healthz-listen-address stringThe listening address for the healthz serverhelp
--healthz-port intThe port used for health checks (default 8080)help
--kubeconfig string(optional) absolute path to the kubeconfig file (default "/tmp/.kube/config")help
--listen-address stringThe listen address for the injector servicehelp
--log-as-jsonprint log as JSON (default false)help
--log-file stringPath to a file where logs will be writtenhelp
--log-level stringOptions are debug, info, warn, error, or fatal (default info) (default "info")help
--metrics-listen-address stringThe address for the metrics server (default "0.0.0.0")help
--metrics-port stringThe port for the metrics server (default "9090")help
--port intThe port used for the injector service (default 4000)help
--scheduler-enabledMarks if scheduler is enabled in the cluster, and address should be patched on sidecars.help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.