|
Hello, Is there a way to disable the deployment of kube-proxy? We intend to utilize the built-in kube-proxy replacement function of our CNI plugin. Thank you in advance for your help. |
Replies: 1 comment 2 replies
|
Yes: for a CNI with kube-proxy replacement, leave Kamaji's kube-proxy addon disabled for that TenantControlPlane. In the current API this is controlled by So the tenant spec should omit it, for example: spec:
addons:
coreDNS: {}
# no kubeProxy hereIf it was enabled before, remove After reconciliation, verify from the tenant cluster: kubectl -n kube-system get ds kube-proxyIf your CNI needs If this matches your setup, please mark the answer as accepted. |
Yes: for a CNI with kube-proxy replacement, leave Kamaji's kube-proxy addon disabled for that TenantControlPlane.
In the current API this is controlled by
spec.addons.kubeProxy. It is optional: the reconciler is a no-op when that field is absent, and it only creates the kube-proxy ServiceAccount/RBAC/ConfigMap/DaemonSet whenspec.addons.kubeProxyis present.So the tenant spec should omit it, for example:
If it was enabled before, remove
spec.addons.kubeProxyor set it back tonulland let Kamaji reconcile. One caveat: the cleanup path only deletes kube-proxy objects that were labelled as Kamaji-managed, so it will not clean up a kub…