Skip to content

Commit

Permalink
Set the podsubnet field, it's required for some CNI plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
aojeagarcia committed Mar 4, 2019
1 parent 1b368d4 commit f694fd1
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions hack/ci/e2e.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f694fd1

Please sign in to comment.