operator-sdk
operator-sdk
Synopsis
CLI tool for building Kubernetes extensions and tools.
operator-sdk [flags]
Examples
The first step is to initialize your project:
operator-sdk init --project-version=<PROJECT VERSION> --plugins=<PLUGIN KEYS>
<PLUGIN KEYS> is a comma-separated list of plugin keys from the following table
and <PROJECT VERSION> a supported project version for these plugins.
Plugin keys | Supported project versions
-------------------------------------+----------------------------
ansible.sdk.operatorframework.io/v1 | 3
go.kubebuilder.io/v2 | 2, 3
go.kubebuilder.io/v3 | 3
helm.sdk.operatorframework.io/v1 | 3
For more specific help for the init command of a certain plugins and project version
configuration please run:
operator-sdk init --help --project-version=<PROJECT VERSION> --plugins=<PLUGIN KEYS>
Default project version: 3
Default plugin keys: "go.kubebuilder.io/v3"
After the project has been initialized, run
operator-sdk --help
to obtain further info about available commands.
Options
-h, --help help for operator-sdk
--plugins strings plugin keys of the plugin to initialize the project with
--project-version string project version
--verbose Enable verbose logging
SEE ALSO
- operator-sdk alpha - Commands in alpha stage
- operator-sdk bundle - Manage operator bundle metadata
- operator-sdk cleanup - Clean up an Operator deployed with the ‘run’ subcommand
- operator-sdk completion - Generators for shell completions
- operator-sdk create - Scaffold a Kubernetes API or webhook
- operator-sdk edit - This command will edit the project configuration
- operator-sdk generate - Invokes a specific generator
- operator-sdk init - Initialize a new project
- operator-sdk olm - Manage the Operator Lifecycle Manager installation in your cluster
- operator-sdk run - Run an Operator in a variety of environments
- operator-sdk scorecard - Runs scorecard
- operator-sdk version - Print the operator-sdk version
Last modified March 10, 2021: config3alphato3: convert config version 3-alpha to 3 (#4613) (6002c70f)
当前内容版权归 Operator SDK 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 Operator SDK .