This commit is contained in:
2024-07-03 19:35:21 +00:00
parent b8348de27a
commit 5ac7e482ea
12 changed files with 106 additions and 12 deletions

View File

@@ -1,4 +1,5 @@
---
# Group vars for alpha cluster
ipv4_subnet: 0
ipv6_subnet: a
kubernetes_pod_network:
cni: 'flannel'
cidr: '10.0.0.0/16'

3
group_vars/clusters.yml Normal file
View File

@@ -0,0 +1,3 @@
---
# Group vars for clusters
containerd_config_cgroup_driver_systemd: true

View File

@@ -1,3 +1,22 @@
---
# Group vars for Kubernetes control plane nodes
kubernetes_role: control_plane
open_ports:
- interface: any
protocol: tcp
port: 22
- interface: any
protocol: tcp
port: 6443
- interface: any
protocol: tcp
port: 2379-2380
- interface: any
protocol: tcp
port: 10250
- interface: any
protocol: tcp
port: 10257
- interface: any
protocol: tcp
port: 10259

View File

@@ -1,3 +1,16 @@
---
# Group vars for Kubernetes worker nodes
kubernetes_role: node
open_ports:
- interface: any
protocol: tcp
port: 22
- interface: any
protocol: tcp
port: 10250
- interface: any
protocol: tcp
port: 10256
- interface: any
protocol: tcp
port: 30000-32767