operator-sdk

operator-sdk

Synopsis

CLI tool for building Kubernetes extensions and tools.

  1. operator-sdk [flags]

Examples

  1. The first step is to initialize your project:
  2. operator-sdk init --project-version=<PROJECT VERSION> --plugins=<PLUGIN KEYS>
  3. <PLUGIN KEYS> is a comma-separated list of plugin keys from the following table
  4. and <PROJECT VERSION> a supported project version for these plugins.
  5. Plugin keys | Supported project versions
  6. -------------------------------------+----------------------------
  7. ansible.sdk.operatorframework.io/v1 | 3
  8. go.kubebuilder.io/v2 | 2, 3
  9. go.kubebuilder.io/v3 | 3
  10. helm.sdk.operatorframework.io/v1 | 3
  11. For more specific help for the init command of a certain plugins and project version
  12. configuration please run:
  13. operator-sdk init --help --project-version=<PROJECT VERSION> --plugins=<PLUGIN KEYS>
  14. Default project version: 3
  15. Default plugin keys: "go.kubebuilder.io/v3"
  16. After the project has been initialized, run
  17. operator-sdk --help
  18. to obtain further info about available commands.

Options

  1. -h, --help help for operator-sdk
  2. --plugins strings plugin keys of the plugin to initialize the project with
  3. --project-version string project version
  4. --verbose Enable verbose logging

SEE ALSO

Last modified March 10, 2021: config3alphato3: convert config version 3-alpha to 3 (#4613) (6002c70f)