services.rke2.extraKubeProxyConfig
NixOS option
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 anythingDefault
{ }Example
declared in: nixos/modules/services/cluster/rancher/default.nixView source on NixOS/nixpkgs →{
clientConnection = {
kubeconfig = "/var/lib/rancher/rke2/agent/kubeproxy.kubeconfig";
};
mode = "nftables";
}