-
Notifications
You must be signed in to change notification settings - Fork 0
/
inventory_ha.yml
69 lines (69 loc) · 1.7 KB
/
inventory_ha.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
---
all:
vars:
ec2_cluster: false
kubernetes_version: latest
cni_type: flannel
pod_network_cidr: "10.244.0.0/16"
cluster_name: kubernetes
ingress_controller:
# nginx or traefik
type: nginx
taint_control_plane_node: false
openebs_install: false
longhorn_install: false
kubevious_install: false
argocd_install: false
tekton_install: false
gitea_install: false
harbor_install: false
kube_prometheus_install: false
octant_install: false
openfaas_install: false
linkerd_install: false
cert_manager_install: false
jaeger_install: false
velero_install: false
awx_install: false
st2_install: false
kubevirt_install: false
metrics_server_install: false
reloader_install: false
kube_ps1_install: false
ha_cluster:
enabled: true
k8s_plugins:
enabled: false
github_api_token_enabled: false
github_api_token: ""
children:
cluster:
vars:
# Set common Variables to all nodes.
ansible_ssh_port: 22
ansible_ssh_private_key_file: ~/.ssh/id_rsa
ansible_user: ubuntu
children:
control_plane:
worker:
control_plane:
# Set nodes for control plane
hosts:
control-node-1:
ansible_host: 10.0.0.10
control-node-2:
ansible_host: 10.0.0.11
control-node-3:
ansible_host: 10.0.0.12
ansible_user: rocky
worker:
hosts:
worker-1:
ansible_host: 10.0.0.13
worker-2:
ansible_host: 10.0.0.14
load_balancer:
hosts:
load-balancer-1:
ansible_host: 10.0.0.15
dns_name: my-load-balancer.domain.com