|
1 | 1 | # Inventory file for a small lab environment
|
2 | 2 | #
|
3 |
| -# This output was generated by Ironic. |
4 |
| -# |
5 |
| -# | etcd-24021 | 5893591-ENV94580-API-MGMT=10.74.8.114 | |
6 |
| -# | etcd-25534 | 5893591-ENV94580-API-MGMT=10.74.8.106 | |
7 |
| -# | etcd-26513 | 5893591-ENV94580-API-MGMT=10.74.8.107 | |
8 |
| -# | ceph-32762 | 5893591-ENV94580-API-MGMT=10.74.8.090 | |
9 |
| -# | ceph-3248 | 5893591-ENV94580-API-MGMT=10.74.8.091 | |
10 |
| -# | ceph-6904 | 5893591-ENV94580-API-MGMT=10.74.8.092 | |
11 |
| -# | k8s-32762 | 5893591-ENV94580-API-MGMT=10.74.8.093 | |
12 |
| -# | k8s-3248 | 5893591-ENV94580-API-MGMT=10.74.8.105 | |
13 |
| -# | k8s-6904 | 5893591-ENV94580-API-MGMT=10.74.8.122 | |
14 |
| -# | controller-19391 | 5893591-ENV94580-API-MGMT=10.74.8.124 | |
15 |
| -# | controller-1499 | 5893591-ENV94580-API-MGMT=10.74.8.103 | |
16 |
| -# | controller-12462 | 5893591-ENV94580-API-MGMT=10.74.8.104 | |
17 |
| -# | compute-12481 | 5893591-ENV94580-API-MGMT=10.74.8.108 | |
18 |
| -# | compute-12562 | 5893591-ENV94580-API-MGMT=10.74.8.109 | |
19 |
| -# | compute-13461 | 5893591-ENV94580-API-MGMT=10.74.8.110 | |
20 |
| -# | storage-12481 | 5893591-ENV94580-API-MGMT=10.74.8.111 | |
21 |
| -# | storage-12562 | 5893591-ENV94580-API-MGMT=10.74.8.112 | |
22 |
| -# | storage-13461 | 5893591-ENV94580-API-MGMT=10.74.8.113 | |
23 |
| -# | network-12481 | 5893591-ENV94580-API-MGMT=10.74.8.114 | |
24 |
| -# | network-12562 | 5893591-ENV94580-API-MGMT=10.74.8.115 | |
25 |
| -# | network-13461 | 5893591-ENV94580-API-MGMT=10.74.8.116 | |
26 |
| -# |
27 | 3 | # This file is used by the ansible-playbook command to deploy Kubernetes via Kubespray.
|
28 | 4 | # using the group_vars found within the openstack-flex directory. The resulting
|
29 | 5 | # environment is used to manage OpenStack services within a Genestack cloud.
|
30 | 6 | #
|
31 | 7 | all:
|
32 | 8 | hosts:
|
33 |
| - etcd-24021.rackerlabs.dev.local: |
| 9 | + etcd-01.env1.example.local: |
34 | 10 | ansible_host: 10.74.8.114
|
35 |
| - etcd-25534.rackerlabs.dev.local: |
| 11 | + etcd-02.env1.example.local: |
36 | 12 | ansible_host: 10.74.8.106
|
37 |
| - etcd-26513.rackerlabs.dev.local: |
| 13 | + etcd-03.env1.example.local: |
38 | 14 | ansible_host: 10.74.8.107
|
39 |
| - ceph-32762.rackerlabs.dev.local: |
| 15 | + ceph-01.env1.example.local: |
40 | 16 | ansible_host: 10.74.8.090
|
41 |
| - ceph-3248.rackerlabs.dev.local: |
| 17 | + ceph-02.env1.example.local: |
42 | 18 | ansible_host: 10.74.8.091
|
43 |
| - ceph-6904.rackerlabs.dev.local: |
| 19 | + ceph-03.env1.example.local: |
44 | 20 | ansible_host: 10.74.8.092
|
45 |
| - k8s-32762.rackerlabs.dev.local: |
| 21 | + k8s-01.env1.example.local: |
46 | 22 | ansible_host: 10.74.8.093
|
47 |
| - k8s-3248.rackerlabs.dev.local: |
| 23 | + k8s-02.env1.example.local: |
48 | 24 | ansible_host: 10.74.8.105
|
49 |
| - k8s-6904.rackerlabs.dev.local: |
| 25 | + k8s-03.env1.example.local: |
50 | 26 | ansible_host: 10.74.8.122
|
51 |
| - controller-19391.rackerlabs.dev.local: |
| 27 | + controller-01.env1.example.local: |
52 | 28 | ansible_host: 10.74.8.124
|
53 |
| - controller-1499.rackerlabs.dev.local: |
| 29 | + controller-02.env1.example.local: |
54 | 30 | ansible_host: 10.74.8.103
|
55 |
| - controller-12462.rackerlabs.dev.local: |
| 31 | + controller-03.env1.example.local: |
56 | 32 | ansible_host: 10.74.8.104
|
57 |
| - compute-12481.rackerlabs.dev.local: |
| 33 | + compute-01.env1.example.local: |
58 | 34 | ansible_host: 10.74.8.108
|
59 |
| - compute-12562.rackerlabs.dev.local: |
| 35 | + compute-02.env1.example.local: |
60 | 36 | ansible_host: 10.74.8.109
|
61 |
| - compute-13461.rackerlabs.dev.local: |
| 37 | + compute-03.env1.example.local: |
62 | 38 | ansible_host: 10.74.8.110
|
63 |
| - storage-12481.rackerlabs.dev.local: |
| 39 | + storage-01.env1.example.local: |
64 | 40 | ansible_host: 10.74.8.111
|
65 |
| - storage-12562.rackerlabs.dev.local: |
| 41 | + storage-02.env1.example.local: |
66 | 42 | ansible_host: 10.74.8.112
|
67 |
| - storage-13461.rackerlabs.dev.local: |
| 43 | + storage-03.env1.example.local: |
68 | 44 | ansible_host: 10.74.8.113
|
69 |
| - network-12481.rackerlabs.dev.local: |
| 45 | + network-01.env1.example.local: |
70 | 46 | ansible_host: 10.74.8.114
|
71 |
| - network-12562.rackerlabs.dev.local: |
| 47 | + network-02.env1.example.local: |
72 | 48 | ansible_host: 10.74.8.115
|
73 |
| - network-13461.rackerlabs.dev.local: |
| 49 | + network-03.env1.example.local: |
74 | 50 | ansible_host: 10.74.8.116
|
75 | 51 | children:
|
76 | 52 | k8s_cluster:
|
77 | 53 | vars:
|
78 | 54 | cluster_name: cluster.local # If cluster_name is modified then cluster_domain_suffix will need to be modified for all the helm charts and for infrastructure operator configs too
|
79 |
| - kube_ovn_iface: vlan206 # see the netplan snippet in etc/netplan/default-DHCP.yaml for more info. |
80 |
| - kube_ovn_default_interface_name: vlan206 # see the netplan snippet in etc/netplan/default-DHCP.yaml for more info. |
| 55 | + kube_ovn_iface: br-overlay # see the netplan snippet in etc/netplan/default-DHCP.yaml for more info. |
| 56 | + kube_ovn_default_interface_name: br-overlay # see the netplan snippet in etc/netplan/default.yaml for more info. |
81 | 57 | kube_ovn_central_hosts: "{{ groups['ovn_network_nodes'] }}"
|
82 | 58 | children:
|
83 | 59 | kube_control_plane: # all k8s control plane nodes need to be in this group
|
84 | 60 | hosts:
|
85 |
| - k8s-3248.rackerlabs.dev.local: null |
86 |
| - k8s-32762.rackerlabs.dev.local: null |
87 |
| - k8s-6904.rackerlabs.dev.local: null |
| 61 | + k8s-01.env1.example.local: null |
| 62 | + k8s-02.env1.example.local: null |
| 63 | + k8s-03.env1.example.local: null |
88 | 64 | etcd: # all etcd nodes need to be in this group
|
89 | 65 | hosts:
|
90 |
| - etcd-24021.rackerlabs.dev.local: null |
91 |
| - etcd-25534.rackerlabs.dev.local: null |
92 |
| - etcd-26513.rackerlabs.dev.local: null |
| 66 | + etcd-01.env1.example.local: null |
| 67 | + etcd-02.env1.example.local: null |
| 68 | + etcd-03.env1.example.local: null |
93 | 69 | kube_node: # all k8s enabled nodes need to be in this group
|
94 | 70 | hosts:
|
95 |
| - k8s-3248.rackerlabs.dev.local: null |
96 |
| - k8s-32762.rackerlabs.dev.local: null |
97 |
| - k8s-6904.rackerlabs.dev.local: null |
98 |
| - ceph-6904.rackerlabs.dev.local: null |
99 |
| - ceph-3248.rackerlabs.dev.local: null |
100 |
| - ceph-32762.rackerlabs.dev.local: null |
101 |
| - controller-19391.rackerlabs.dev.local: null |
102 |
| - controller-1499.rackerlabs.dev.local: null |
103 |
| - controller-12462.rackerlabs.dev.local: null |
104 |
| - network-12481.rackerlabs.dev.local: null |
105 |
| - network-12562.rackerlabs.dev.local: null |
106 |
| - network-13461.rackerlabs.dev.local: null |
107 |
| - storage-12481.rackerlabs.dev.local: null |
108 |
| - storage-12562.rackerlabs.dev.local: null |
109 |
| - storage-13461.rackerlabs.dev.local: null |
110 |
| - compute-13461.rackerlabs.dev.local: null |
111 |
| - compute-12562.rackerlabs.dev.local: null |
112 |
| - compute-12481.rackerlabs.dev.local: null |
| 71 | + k8s-01.env1.example.local: null |
| 72 | + k8s-02.env1.example.local: null |
| 73 | + k8s-03.env1.example.local: null |
| 74 | + ceph-01.env1.example.local: null |
| 75 | + ceph-02.env1.example.local: null |
| 76 | + ceph-03.env1.example.local: null |
| 77 | + controller-01.env1.example.local: null |
| 78 | + controller-02.env1.example.local: null |
| 79 | + controller-03.env1.example.local: null |
| 80 | + network-01.env1.example.local: null |
| 81 | + network-02.env1.example.local: null |
| 82 | + network-03.env1.example.local: null |
| 83 | + storage-01.env1.example.local: null |
| 84 | + storage-02.env1.example.local: null |
| 85 | + storage-03.env1.example.local: null |
| 86 | + compute-01.env1.example.local: null |
| 87 | + compute-02.env1.example.local: null |
| 88 | + compute-03.env1.example.local: null |
113 | 89 | openstack_control_plane: # nodes used for nova compute labeled as openstack-control-plane=enabled
|
114 | 90 | hosts:
|
115 |
| - controller-19391.rackerlabs.dev.local: null |
116 |
| - controller-1499.rackerlabs.dev.local: null |
117 |
| - controller-12462.rackerlabs.dev.local: null |
| 91 | + controller-01.env1.example.local: null |
| 92 | + controller-02.env1.example.local: null |
| 93 | + controller-03.env1.example.local: null |
118 | 94 | ovn_network_nodes: # nodes used for nova compute labeled as openstack-network-node=enabled
|
119 | 95 | hosts:
|
120 |
| - network-12481.rackerlabs.dev.local: null |
121 |
| - network-12562.rackerlabs.dev.local: null |
122 |
| - network-13461.rackerlabs.dev.local: null |
| 96 | + network-01.env1.example.local: null |
| 97 | + network-02.env1.example.local: null |
| 98 | + network-03.env1.example.local: null |
123 | 99 | storage_nodes:
|
124 | 100 | children:
|
125 | 101 | ceph_storage_nodes: # nodes used for ceph storage labeled as role=storage-node
|
126 | 102 | hosts:
|
127 |
| - ceph-6904.rackerlabs.dev.local: null |
128 |
| - ceph-3248.rackerlabs.dev.local: null |
129 |
| - ceph-32762.rackerlabs.dev.local: null |
| 103 | + ceph-01.env1.example.local: null |
| 104 | + ceph-02.env1.example.local: null |
| 105 | + ceph-03.env1.example.local: null |
130 | 106 | cinder_storage_nodes: # nodes used for cinder storage labeled as openstack-storage-node=enabled
|
131 | 107 | hosts:
|
132 |
| - storage-12481.rackerlabs.dev.local: null |
133 |
| - storage-12562.rackerlabs.dev.local: null |
134 |
| - storage-13461.rackerlabs.dev.local: null |
| 108 | + storage-01.env1.example.local: null |
| 109 | + storage-02.env1.example.local: null |
| 110 | + storage-03.env1.example.local: null |
135 | 111 | openstack_compute_nodes: # nodes used for nova compute labeled as openstack-compute-node=enabled
|
136 | 112 | hosts:
|
137 |
| - compute-13461.rackerlabs.dev.local: null |
138 |
| - compute-12562.rackerlabs.dev.local: null |
139 |
| - compute-12481.rackerlabs.dev.local: null |
| 113 | + compute-01.env1.example.local: null |
| 114 | + compute-02.env1.example.local: null |
| 115 | + compute-03.env1.example.local: null |
0 commit comments