From f694fd10a2a24fb6e7da15cc890eecb2e1666fbf Mon Sep 17 00:00:00 2001 From: aojeagarcia Date: Mon, 4 Mar 2019 11:18:46 +0100 Subject: [PATCH] Set the podsubnet field, it's required for some CNI plugins --- hack/ci/e2e.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/hack/ci/e2e.sh b/hack/ci/e2e.sh index f0b5cac4bf..3fcc6a627f 100755 --- a/hack/ci/e2e.sh +++ b/hack/ci/e2e.sh @@ -103,6 +103,16 @@ apiVersion: kind.sigs.k8s.io/v1alpha2 nodes: # the control plane node - role: control-plane + # patch the generated kubeadm config with some extra settings + kubeadmConfigPatches: + - | + apiVersion: kubeadm.k8s.io/v1alpha3 + kind: ClusterConfiguration + metadata: + name: config + networking: + podSubnet: "10.192.0.0/16" + - role: worker replicas: 2 EOF