File tree Expand file tree Collapse file tree 4 files changed +71
-7
lines changed Expand file tree Collapse file tree 4 files changed +71
-7
lines changed Original file line number Diff line number Diff line change 3232 - [ clusterctl Commands] ( clusterctl/commands/commands.md )
3333 - [ init] ( clusterctl/commands/init.md )
3434 - [ generate cluster] ( clusterctl/commands/generate-cluster.md )
35+ - [ generate provider] ( clusterctl/commands/generate-provider.md )
3536 - [ generate yaml] ( clusterctl/commands/generate-yaml.md )
3637 - [ get kubeconfig] ( clusterctl/commands/get-kubeconfig.md )
3738 - [ describe cluster] ( clusterctl/commands/describe-cluster.md )
4142 - [ completion] ( clusterctl/commands/completion.md )
4243 - [ alpha rollout] ( clusterctl/commands/alpha-rollout.md )
4344 - [ alpha topology plan] ( clusterctl/commands/alpha-topology-plan.md )
45+ - [ additional commands] ( clusterctl/commands/additional-commands.md )
4446 - [ clusterctl Configuration] ( clusterctl/configuration.md )
4547 - [ clusterctl Provider Contract] ( clusterctl/provider-contract.md )
4648 - [ clusterctl for Developers] ( clusterctl/developers.md )
Original file line number Diff line number Diff line change 1+ # clusterctl backup
2+
3+ Backup Cluster API objects and all dependencies from a management cluster.
4+
5+ # clusterctl config repositories
6+
7+ Display the list of providers and their repository configurations.
8+
9+ clusterctl ships with a list of known providers; if necessary, edit
10+ $HOME/.cluster-api/clusterctl.yaml file to add a new provider or to customize existing ones.
11+
12+ # clusterctl help
13+
14+ Help provides help for any command in the application.
15+ Simply type ` clusterctl help [command] ` for full details.
16+
17+ # clusterctl restore
18+
19+ Restore Cluster API objects from file by glob. Object files are searched in the default config directory
20+ or in the provided directory.
21+
22+ # clusterctl version
23+
24+ Print clusterctl version.
Original file line number Diff line number Diff line change 1- # clusterctl Commands
1+ # clusterctl commands
22
3- * [ ` clusterctl init ` ] ( init.md )
3+ * [ ` clusterctl alpha rollout ` ] ( alpha-rollout.md )
4+ * [ ` clusterctl alpha topology plan ` ] ( alpha-topology-plan.md )
5+ * [ ` clusterctl backup ` ] ( additional-commands.md#clusterctl-backup )
6+ * [ ` clusterctl completion ` ] ( completion.md )
7+ * [ ` clusterctl config ` ] ( additional-commands.md#clusterctl-config-repositories )
8+ * [ ` clusterctl delete ` ] ( delete.md )
9+ * [ ` clusterctl describe cluster ` ] ( describe-cluster.md )
410* [ ` clusterctl generate cluster ` ] ( generate-cluster.md )
11+ * [ ` clusterctl generate provider ` ] ( generate-provider.md )
512* [ ` clusterctl generate yaml ` ] ( generate-yaml.md )
613* [ ` clusterctl get kubeconfig ` ] ( get-kubeconfig.md )
7- * [ ` clusterctl describe cluster ` ] ( describe-cluster.md )
14+ * [ ` clusterctl help ` ] ( additional-commands.md#clusterctl-help )
15+ * [ ` clusterctl init ` ] ( init.md )
816* [ ` clusterctl move ` ] ( move.md )
17+ * [ ` clusterctl restore ` ] ( additional-commands.md#clusterctl-restore )
918* [ ` clusterctl upgrade ` ] ( upgrade.md )
10- * [ ` clusterctl delete ` ] ( delete.md )
11- * [ ` clusterctl completion ` ] ( completion.md )
12- * [ ` clusterctl alpha rollout ` ] ( alpha-rollout.md )
13- * [ ` clusterctl alpha topology plan ` ] ( alpha-topology-plan.md )
19+ * [ ` clusterctl version ` ] ( additional-commands.md#clusterctl-version )
Original file line number Diff line number Diff line change 1+ # clusterctl generate provider
2+
3+ Generate templates for provider components.
4+
5+ clusterctl fetches the provider components from the provider repository and performs variable substitution.
6+
7+ Variable values are either sourced from the clusterctl config file or
8+ from environment variables
9+
10+ Usage: ` clusterctl generate provider [flags] `
11+
12+ Current usage of the command is as follows:
13+ ``` bash
14+ # Generates a yaml file for creating provider with variable values using
15+ # components defined in the provider repository.
16+ clusterctl generate provider --infrastructure aws
17+
18+ # Generates a yaml file for creating provider for a specific version with variable values using
19+ # components defined in the provider repository.
20+ clusterctl generate provider --infrastructure aws:v0.4.1
21+
22+ # Displays information about a specific infrastructure provider.
23+ # If applicable, prints out the list of required environment variables.
24+ clusterctl generate provider --infrastructure aws --describe
25+
26+ # Displays information about a specific version of the infrastructure provider.
27+ clusterctl generate provider --infrastructure aws:v0.4.1 --describe
28+
29+ # Generates a yaml file for creating provider for a specific version.
30+ # No variables will be processed and substituted using this flag
31+ clusterctl generate provider --infrastructure aws:v0.4.1 --raw
32+ ```
You can’t perform that action at this time.
0 commit comments