From 0491f328e5054b4f44061f80f575d44e65a12a15 Mon Sep 17 00:00:00 2001 From: Leonard Cohnen Date: Tue, 17 Oct 2023 11:15:29 +0200 Subject: [PATCH] change service CIDR --- bootstrapper/internal/kubernetes/k8sapi/kubeadm_config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bootstrapper/internal/kubernetes/k8sapi/kubeadm_config.go b/bootstrapper/internal/kubernetes/k8sapi/kubeadm_config.go index 28bdc5454c..b8bcb9ee24 100644 --- a/bootstrapper/internal/kubernetes/k8sapi/kubeadm_config.go +++ b/bootstrapper/internal/kubernetes/k8sapi/kubeadm_config.go @@ -63,6 +63,9 @@ func (c *KubdeadmConfiguration) InitConfiguration(externalCloudProvider bool, cl }, // Target kubernetes version of the control plane. KubernetesVersion: clusterVersion, + Networking: kubeadm.Networking{ + ServiceSubnet: "10.22.0.1/16", + }, // necessary to be able to access the kubeapi server through localhost APIServer: kubeadm.APIServer{ ControlPlaneComponent: kubeadm.ControlPlaneComponent{