From f5069ce07d7b2624194c23aa933e84e59a05219d Mon Sep 17 00:00:00 2001 From: vuotnh Date: Wed, 30 Oct 2024 17:33:16 +0700 Subject: [PATCH] [Update] auto allocate pod subnet for each node --- units/kube-controller-manager.service | 1 + 1 file changed, 1 insertion(+) diff --git a/units/kube-controller-manager.service b/units/kube-controller-manager.service index 0ebfda7..ddf70a2 100644 --- a/units/kube-controller-manager.service +++ b/units/kube-controller-manager.service @@ -6,6 +6,7 @@ Documentation=https://github.com/kubernetes/kubernetes ExecStart=/usr/local/bin/kube-controller-manager \ --bind-address=0.0.0.0 \ --cluster-cidr=10.200.0.0/16 \ + --allocate-node-cidrs=true \ --cluster-name=kubernetes \ --cluster-signing-cert-file=/var/lib/kubernetes/ca.crt \ --cluster-signing-key-file=/var/lib/kubernetes/ca.key \