mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-05-17 02:23:19 +00:00
Add the new "Configuration File" entry to the TOC
This commit is contained in:
committed by
Catherine Luse
parent
d0ca35f06c
commit
504a2c625b
@@ -9,6 +9,7 @@ This page focuses on the options that can be used when you set up K3s for the fi
|
||||
- [Options for installation from binary](#options-for-installation-from-binary)
|
||||
- [Registration options for the K3s server](#registration-options-for-the-k3s-server)
|
||||
- [Registration options for the K3s agent](#registration-options-for-the-k3s-agent)
|
||||
- [Configuration File](#configuration-file)
|
||||
|
||||
In addition to configuring K3s with environment variables and CLI arguments, K3s can also use a [config file.](#configuration-file)
|
||||
|
||||
@@ -105,4 +106,4 @@ k3s server \
|
||||
|
||||
It is also possible to use both a configuration file and CLI arguments. In these situations, values will be loaded from both sources, but CLI arguments will take precedence. For repeatable arguments such as `--node-label`, the CLI arguments will overwrite all values in the list.
|
||||
|
||||
Finally, the location of the config file can be changed either through the cli argument `--config FILE, -c FILE`, or the environment variable `$K3S_CONFIG_FILE`.
|
||||
Finally, the location of the config file can be changed either through the cli argument `--config FILE, -c FILE`, or the environment variable `$K3S_CONFIG_FILE`.
|
||||
|
||||
Reference in New Issue
Block a user