talos/docs/osctl/osctl_config_generate.md
Andrey Smirnov e1779ac77c feat: implement registry mirror & config for image pull
When images are pulled by Talos or via CRI plugin, configuration
for each registry is applied. Mirrors allow to redirect pull request to
either local registry or cached registry. Auth & TLS enable
authentication and TLS authentication for non-public registries.

Signed-off-by: Andrey Smirnov <smirnov.andrey@gmail.com>
2020-02-14 00:28:59 +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:latest")
--kubernetes-version string desired kubernetes version to run (default "1.17.1")
-o, --output-dir string destination to output generated files
--registry-mirror strings list of registry mirrors to use in format: <registry host>=<mirror URL>
--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
-n, --nodes strings target the specified nodes
--talosconfig string The path to the Talos configuration file (default "/home/user/.talos/config")
```
### SEE ALSO
* [osctl config](osctl_config.md) - Manage the client configuration