Skip to content

Commit

Permalink
Drop kube-proxy-args from CLI flags
Browse files Browse the repository at this point in the history
This isn't actually supported, since kube-proxy is configured by the
rke2-kube-proxy helm chart.

Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
  • Loading branch information
brandond committed Feb 3, 2021
1 parent 89ca575 commit 334a4a9
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion docs/install/install_options/agent_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ OPTIONS:
--node-ip value, -i value (agent/networking) IP address to advertise for node
--resolv-conf value (agent/networking) Kubelet resolv.conf file [$RKE2_RESOLV_CONF]
--kubelet-arg value (agent/flags) Customized flag for kubelet process
--kube-proxy-arg value (agent/flags) Customized flag for kube-proxy process
--protect-kernel-defaults (agent/node) Kernel tuning behavior. If set, error if kernel tunables are different than kubelet defaults.
--selinux (agent/node) Enable SELinux in containerd [$RKE2_SELINUX]
--system-default-registry value (image) Private registry to be used for all system Docker images [$RKE2_SYSTEM_DEFAULT_REGISTRY]
Expand Down
1 change: 0 additions & 1 deletion docs/install/install_options/server_config.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ OPTIONS:
--node-ip value, -i value (agent/networking) IP address to advertise for node
--resolv-conf value (agent/networking) Kubelet resolv.conf file [$RKE2_RESOLV_CONF]
--kubelet-arg value (agent/flags) Customized flag for kubelet process
--kube-proxy-arg value (agent/flags) Customized flag for kube-proxy process
--protect-kernel-defaults (agent/node) Kernel tuning behavior. If set, error if kernel tunables are different than kubelet defaults.
--agent-token value (experimental/cluster) Shared secret used to join agents to the cluster, but not servers [$RKE2_AGENT_TOKEN]
--agent-token-file value (experimental/cluster) File containing the agent secret [$RKE2_AGENT_TOKEN_FILE]
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/cmds/agent.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ var (
"flannel-iface": drop,
"flannel-conf": drop,
"kubelet-arg": copy,
"kube-proxy-arg": copy,
"kube-proxy-arg": drop,
"rootless": drop,
"server": copy,
"no-flannel": drop,
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/cmds/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ var (
"flannel-iface": drop,
"flannel-conf": drop,
"kubelet-arg": copy,
"kube-proxy-arg": copy,
"kube-proxy-arg": drop,
"rootless": drop,
"agent-token": copy,
"agent-token-file": copy,
Expand Down

0 comments on commit 334a4a9

Please sign in to comment.