services.rke2.extraKubeProxyConfig
Extra configuration to add to the kube-proxy's configuration file. The subset of the kube-proxy's
configuration that can be configured via a file is defined by the
KubeProxyConfiguration
struct. Note that the kubeconfig param will be overriden by clientConnection.kubeconfig, so you must
set the clientConnection.kubeconfig option if you want to use extraKubeProxyConfig.
- Type
attribute set of anything- Default
{ }- Example
{ clientConnection = { kubeconfig = "/var/lib/rancher/rke2/agent/kubeproxy.kubeconfig"; }; mode = "nftables"; }- Declared
- <nixpkgs/nixos/modules/services/cluster/rancher/default.nix>