Skip to content

Commit

Permalink
set ipam mode to kubernetes, change cidr for pod ip's (#147)
Browse files Browse the repository at this point in the history
Co-authored-by: Rahul Sharma <[email protected]>
  • Loading branch information
rahulait and rahulait committed Feb 28, 2024
1 parent a0cea40 commit f6e24d5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs/src/flavors/clusterclass-kubeadm.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
clusterNetwork:
pods:
cidrBlocks:
- 192.168.128.0/17
- 10.192.0.0/10
topology:
class: kubeadm
controlPlane:
Expand Down
4 changes: 4 additions & 0 deletions templates/addons/cilium/cilium.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ spec:
wait: true
timeout: 5m
valuesTemplate: |
ipam:
mode: kubernetes
k8s:
requireIPv4PodCIDR: true
hubble:
relay:
enabled: true
Expand Down
2 changes: 1 addition & 1 deletion templates/flavors/base/cluster.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ spec:
clusterNetwork:
pods:
cidrBlocks:
- 192.168.128.0/17
- 10.192.0.0/10
controlPlaneRef:
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
kind: REPLACEME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ spec:
clusterNetwork:
pods:
cidrBlocks:
- 192.168.128.0/17
- 10.192.0.0/10
topology:
class: kubeadm
version: ${KUBERNETES_VERSION}
Expand Down

0 comments on commit f6e24d5

Please sign in to comment.