mirror of
https://github.com/rancher/rancher-docs.git
synced 2026-09-26 04:58:07 +00:00
update cli flags
This updates the k3s server and k3s agent flags In a later PR we may change the location of these this only covers content changes in this area.
This commit is contained in:
@@ -171,6 +171,10 @@ The following information on server options is also available through `k3s serve
|
|||||||
|
|
||||||
Customized flag for kube-controller-manager process
|
Customized flag for kube-controller-manager process
|
||||||
|
|
||||||
|
* `--kube-cloud-controller-arg` _value_
|
||||||
|
|
||||||
|
Customized flag for kube-cloud-controller-manager process
|
||||||
|
|
||||||
* `--rootless`
|
* `--rootless`
|
||||||
|
|
||||||
(experimental) Run rootless
|
(experimental) Run rootless
|
||||||
@@ -191,10 +195,30 @@ The following information on server options is also available through `k3s serve
|
|||||||
|
|
||||||
SSL key file used to secure storage backend communication [$`K3S_STORAGE_KEYFILE`]
|
SSL key file used to secure storage backend communication [$`K3S_STORAGE_KEYFILE`]
|
||||||
|
|
||||||
|
* `--advertise-address` _value_
|
||||||
|
|
||||||
|
IP address that apiserver uses to advertise to members of the cluster
|
||||||
|
|
||||||
|
* `--advertise-port` _value_
|
||||||
|
|
||||||
|
Port that apiserver uses to advertise to members of the cluster (default: 0)
|
||||||
|
|
||||||
|
* `--disable-scheduler`
|
||||||
|
|
||||||
|
Disable Kubernetes default scheduler
|
||||||
|
|
||||||
* `--disable-cloud-controller`
|
* `--disable-cloud-controller`
|
||||||
|
|
||||||
Disable k3s default cloud controller manager
|
Disable k3s default cloud controller manager
|
||||||
|
|
||||||
|
* `--disable-network-policy`
|
||||||
|
|
||||||
|
Disable k3s default network policy controller
|
||||||
|
|
||||||
|
* `--default-local-storage-path` _value_
|
||||||
|
|
||||||
|
Default local storage path for local provisioner storage class
|
||||||
|
|
||||||
* `--node-ip` _value_, `-i` _value_
|
* `--node-ip` _value_, `-i` _value_
|
||||||
|
|
||||||
(agent) IP address to advertise for node
|
(agent) IP address to advertise for node
|
||||||
@@ -215,6 +239,10 @@ The following information on server options is also available through `k3s serve
|
|||||||
|
|
||||||
(agent) Override default flannel interface
|
(agent) Override default flannel interface
|
||||||
|
|
||||||
|
* `--flannel-conf` _value_
|
||||||
|
|
||||||
|
(agent) (experimental) Override default flannel config file
|
||||||
|
|
||||||
* `--flannel-backend` _value_
|
* `--flannel-backend` _value_
|
||||||
|
|
||||||
(agent) Specify the flannel backend you would like to use: vxlan (default), ipsec, or wireguard
|
(agent) Specify the flannel backend you would like to use: vxlan (default), ipsec, or wireguard
|
||||||
@@ -247,6 +275,14 @@ The following information on server options is also available through `k3s serve
|
|||||||
|
|
||||||
(agent) Registering kubelet with set of taints
|
(agent) Registering kubelet with set of taints
|
||||||
|
|
||||||
|
* `--private-registry` _value_
|
||||||
|
|
||||||
|
(agent) Private registry configuration file (default: "/etc/rancher/k3s/registries.yaml")
|
||||||
|
|
||||||
|
* `--node-external-ip` _value_
|
||||||
|
|
||||||
|
(agent) External IP address to advertise for node
|
||||||
|
|
||||||
Agent Options
|
Agent Options
|
||||||
------------------
|
------------------
|
||||||
|
|
||||||
@@ -288,11 +324,15 @@ The following information on agent options is also available through `k3s agent
|
|||||||
|
|
||||||
(agent) Override default flannel interface
|
(agent) Override default flannel interface
|
||||||
|
|
||||||
|
* `--flannel-conf` _value_
|
||||||
|
|
||||||
|
(agent) (experimental) Override default flannel config file
|
||||||
|
|
||||||
* `--node-name` _value_
|
* `--node-name` _value_
|
||||||
|
|
||||||
(agent) Node name [$`K3S_NODE_NAME`]
|
(agent) Node name [$`K3S_NODE_NAME`]
|
||||||
|
|
||||||
* `--node-ip` _value_, `-i` _value
|
* `--node-ip` _value_, `-i` _value_
|
||||||
|
|
||||||
(agent) IP address to advertise for node
|
(agent) IP address to advertise for node
|
||||||
|
|
||||||
@@ -324,6 +364,14 @@ The following information on agent options is also available through `k3s agent
|
|||||||
|
|
||||||
(agent) Registering kubelet with set of taints
|
(agent) Registering kubelet with set of taints
|
||||||
|
|
||||||
|
* `--private-registry` _value_
|
||||||
|
|
||||||
|
(agent) Private registry configuration file (default: "/etc/rancher/k3s/registries.yaml")
|
||||||
|
|
||||||
|
* `--node-external-ip` _value_
|
||||||
|
|
||||||
|
(agent) External IP address to advertise for node
|
||||||
|
|
||||||
Customizing components
|
Customizing components
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user