-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinput.yml
More file actions
51 lines (47 loc) · 1.06 KB
/
input.yml
File metadata and controls
51 lines (47 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
internal_network:
name: "k3s-internal"
subnet:
name: "k3s-subnet"
network_cidr: "192.168.132.0/24"
bastion:
name: "bastion"
flavor: "standard.small"
image: "Ubuntu-22.04"
neutron_router:
name: "k3s-router-to-public"
external_network:
name: "public"
internal_network:
name: "k3s-internal"
firewall:
firewall_external:
- name: "allow-ssh"
ports: ["22"]
source_ranges: ["0.0.0.0/0"]
- name: "allow-http"
ports: ["80"]
source_ranges: ["0.0.0.0/0"]
firewall_internal:
- name: "allow-all-internal"
ports: ["0-65535"]
source_ranges: ["192.168.132.0/24"]
# 1 master and many worker
k3s:
masters:
name: "k3s-master"
role: "master"
user: "ubuntu"
image: "Ubuntu-22.04"
flavor: "standard.small"
number: 1
workers:
name: "k3s-worker"
role: "worker"
user: "ubuntu"
image: "Ubuntu-22.04"
flavor: "standard.small"
number: 1
vars:
ansible_user: ubuntu
k3s_version: v1.33.0+k3s1
extra_server_args: "--flannel-backend=none --disable-network-policy"