forked from digitalis-io/k3s-on-prem-production
-
Notifications
You must be signed in to change notification settings - Fork 0
/
inventory-k3s.yml
36 lines (34 loc) · 1.22 KB
/
inventory-k3s.yml
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
---
all:
vars:
ansible_python_interpreter: /usr/bin/python3
children:
kube_cluster:
vars:
docker_registry: http://192.168.122.199
k3s_cluster_secret: Ahguario7Eefooph6ooweish9peenaeshaideeFokuay7iehoe3ahgei3aithoo7 # This is a secret and should be Vaulted!
k3s_encryption_secret: "4mLnvo0Lrb7iSUv7yF5IKOYvEkcnGfyBauzhCjtNRgc=" # This is a secret and should be Vaulted!
k3s_version: v1.20.5+k3s1
external_interface: eth1
internal_interface: eth0
metallb_external_ip_range: 192.168.1.200-192.168.1.240
metallb_internal_ip_range: 192.168.122.200-192.168.122.240
falco_sidekick_slack: "https://hooks.slack.com/services/XXXXX-XXXX-XXXX" # This is a secret and should be Vaulted!
children:
kube_master:
hosts:
master01:
ansible_host: 192.168.122.10
master02:
ansible_host: 192.168.122.11
master03:
ansible_host: 192.168.122.12
kube_node:
hosts:
worker01:
ansible_host: 192.168.122.21
worker02:
ansible_host: 192.168.122.22
worker03:
ansible_host: 192.168.122.23
...