From de2549af6541b9090f38d347473d483ab5a09a64 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Tue, 4 Jun 2024 11:59:37 -0400 Subject: [PATCH] Fix controller manager and scheduler bind (#121) --- roles/kubernetes/templates/kubeadm.yaml.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/kubernetes/templates/kubeadm.yaml.j2 b/roles/kubernetes/templates/kubeadm.yaml.j2 index 1cd0ad66..b015e9fc 100644 --- a/roles/kubernetes/templates/kubeadm.yaml.j2 +++ b/roles/kubernetes/templates/kubeadm.yaml.j2 @@ -72,6 +72,12 @@ apiServer: oidc-issuer-url: {{ kubernetes_oidc_issuer_url }} oidc-client-id: {{ kubernetes_oidc_client_id }} {% endif %} +controllerManager: + extraArgs: + bind-address: 0.0.0.0 +scheduler: + extraArgs: + bind-address: 0.0.0.0 --- apiVersion: kubelet.config.k8s.io/v1beta1 kind: KubeletConfiguration