From 23faaaeaca28597d5113e2fa42f2b5f3eecdb9fe Mon Sep 17 00:00:00 2001 From: David Nuzik Date: Thu, 24 Oct 2019 11:42:11 -0700 Subject: [PATCH] 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. --- .../en/installation/single-server/_index.md | 50 ++++++++++++++++++- 1 file changed, 49 insertions(+), 1 deletion(-) diff --git a/content/k3s/latest/en/installation/single-server/_index.md b/content/k3s/latest/en/installation/single-server/_index.md index 984aa764aa7..61d34106dc4 100644 --- a/content/k3s/latest/en/installation/single-server/_index.md +++ b/content/k3s/latest/en/installation/single-server/_index.md @@ -171,6 +171,10 @@ The following information on server options is also available through `k3s serve Customized flag for kube-controller-manager process +* `--kube-cloud-controller-arg` _value_ + + Customized flag for kube-cloud-controller-manager process + * `--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`] +* `--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 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_ (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 +* `--flannel-conf` _value_ + + (agent) (experimental) Override default flannel config file + * `--flannel-backend` _value_ (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 +* `--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 ------------------ @@ -288,11 +324,15 @@ The following information on agent options is also available through `k3s agent (agent) Override default flannel interface +* `--flannel-conf` _value_ + + (agent) (experimental) Override default flannel config file + * `--node-name` _value_ (agent) Node name [$`K3S_NODE_NAME`] -* `--node-ip` _value_, `-i` _value +* `--node-ip` _value_, `-i` _value_ (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 +* `--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 ----------------------