operator-sdk run local

operator-sdk run local

Run an Operator locally

Synopsis

This command will run your Operator locally by building the operator binary with the ability to access a kubernetes cluster using a kubeconfig file

  1. operator-sdk run local [flags]

Options

  1. --enable-delve Start the operator using the delve debugger
  2. --go-ldflags string Set Go linker options
  3. -h, --help help for local
  4. --kubeconfig string The file path to kubernetes configuration file. Defaults to location specified by $KUBECONFIG, or to default file rules if not set
  5. --operator-flags string The flags that the operator needs. Example: "--flag1 value1 --flag2=value2"
  6. --watch-namespace string The namespace where the operator watches for changes. Set "" for AllNamespaces, set "ns1,ns2" for MultiNamespace

SEE ALSO

Last modified May 20, 2020: run: deprecate ‘—local’ in favor of ‘local’ subcommand (#3067) (ab710951)