talos/docs/osctl/osctl_config_generate.md
Andrey Smirnov 399aeda0b9 feat: rename confusing target options, --endpoints, etc.
Fixes #1610

1. In `talosconfig`, deprecate `Target` in favor of `Endpoints`
(client-side LB to come next).

2. In `osctl`, use `--nodes` in place of `--target`.

3. In `osctl` add option `--endpoints` to override `Endpoints` for the
call.

Other changes are just updates to catch up with the changes. Most
probably I missed something... And CAPI provider needs update.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2019-12-10 02:23:54 +03:00

40 lines
1.4 KiB
Markdown

<!-- markdownlint-disable -->
## osctl config generate
Generate a set of configuration files
### Synopsis
Generate a set of configuration files
```
osctl config generate <cluster name> https://<load balancer IP or DNS name> [flags]
```
### Options
```
--additional-sans strings additional Subject-Alt-Names for the APIServer certificate
-h, --help help for generate
--install-disk string the disk to install to (default "/dev/sda")
--install-image string the image used to perform an installation (default "docker.io/autonomy/installer:v0.3.0-alpha.10-51-g3a93e65b-dirty")
--kubernetes-version string desired kubernetes version to run (default "1.16.2")
-o, --output-dir string destination to output generated files
--version string the desired machine config version to generate (default "v1alpha1")
```
### Options inherited from parent commands
```
--context string Context to be used in command
-e, --endpoints strings override default endpoints in Talos configuration
--nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/smira/.talos/config")
```
### SEE ALSO
* [osctl config](osctl_config.md) - Manage the client configuration
###### Auto generated by spf13/cobra on 10-Dec-2019