Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 52 additions & 0 deletions etc/netplan/default-DHCP.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
---
network:
version: 2
ethernets:
enp143s0f0:
set-name: enp143s0f0
enp143s0f1:
set-name: enp143s0f1
enp196s0f0:
set-name: enp196s0f0
enp196s0f1:
set-name: enp196s0f1
bonds:
bond0:
dhcp4: true # Using DHCP for this example but not required
interfaces:
- enp143s0f0 # A side
- enp196s0f0 # B side
parameters:
lacp-rate: fast
mii-monitor-interval: 100
mode: 802.3ad
bond1:
interfaces:
- enp143s0f1 # A side
- enp196s0f1 # B side
parameters:
lacp-rate: fast
mii-monitor-interval: 100
mode: 802.3ad
vlans:
vlan206: # this is the interface that will be given to K8S via bond0
accept-ra: false
addresses:
- 172.16.24.1/22 # Statically assigned IP address, increment on every node
id: 206
link: bond0
mtu: 1500
vlan306: # this is the interface that will be given to Controllers via bond0
accept-ra: false
addresses:
- 172.18.24.1/22 # Statically assigned IP address, increment on every node
id: 306
link: bond0
mtu: 1500
vlan406: # this is the interface that will be given to Computes via bond0
accept-ra: false
addresses:
- 172.20.24.1/22 # Statically assigned IP address, increment on every node
id: 406
link: bond0
mtu: 1500
4 changes: 2 additions & 2 deletions openstack-flex/group_vars/k8s_cluster/addons.yml
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ metallb_config:
# address_pool:
# - pool2

argocd_enabled: true
argocd_enabled: false
# argocd_version: v2.8.4
argocd_namespace: argocd
# Default password:
Expand All @@ -247,7 +247,7 @@ argocd_namespace: argocd
# argocd_admin_password: "password"

# The plugin manager for kubectl
krew_enabled: true
krew_enabled: false
krew_root_dir: "/usr/local/krew"

# Kube VIP
Expand Down
139 changes: 139 additions & 0 deletions openstack-flex/inventory-example.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,139 @@
# Inventory file for a small lab environment
#
# This output was generated by Ironic.
#
# | etcd-24021 | 5893591-ENV94580-API-MGMT=10.74.8.114 |
# | etcd-25534 | 5893591-ENV94580-API-MGMT=10.74.8.106 |
# | etcd-26513 | 5893591-ENV94580-API-MGMT=10.74.8.107 |
# | ceph-32762 | 5893591-ENV94580-API-MGMT=10.74.8.090 |
# | ceph-3248 | 5893591-ENV94580-API-MGMT=10.74.8.091 |
# | ceph-6904 | 5893591-ENV94580-API-MGMT=10.74.8.092 |
# | k8s-32762 | 5893591-ENV94580-API-MGMT=10.74.8.093 |
# | k8s-3248 | 5893591-ENV94580-API-MGMT=10.74.8.105 |
# | k8s-6904 | 5893591-ENV94580-API-MGMT=10.74.8.122 |
# | controller-19391 | 5893591-ENV94580-API-MGMT=10.74.8.124 |
# | controller-1499 | 5893591-ENV94580-API-MGMT=10.74.8.103 |
# | controller-12462 | 5893591-ENV94580-API-MGMT=10.74.8.104 |
# | compute-12481 | 5893591-ENV94580-API-MGMT=10.74.8.108 |
# | compute-12562 | 5893591-ENV94580-API-MGMT=10.74.8.109 |
# | compute-13461 | 5893591-ENV94580-API-MGMT=10.74.8.110 |
# | storage-12481 | 5893591-ENV94580-API-MGMT=10.74.8.111 |
# | storage-12562 | 5893591-ENV94580-API-MGMT=10.74.8.112 |
# | storage-13461 | 5893591-ENV94580-API-MGMT=10.74.8.113 |
# | network-12481 | 5893591-ENV94580-API-MGMT=10.74.8.114 |
# | network-12562 | 5893591-ENV94580-API-MGMT=10.74.8.115 |
# | network-13461 | 5893591-ENV94580-API-MGMT=10.74.8.116 |
#
# This file is used by the ansible-playbook command to deploy Kubernetes via Kubespray.
# using the group_vars found within the openstack-flex directory. The resulting
# environment is used to manage OpenStack services within a Genestack cloud.
#
all:
hosts:
etcd-24021.rackerlabs.dev.local:
ansible_host: 10.74.8.114
etcd-25534.rackerlabs.dev.local:
ansible_host: 10.74.8.106
etcd-26513.rackerlabs.dev.local:
ansible_host: 10.74.8.107
ceph-32762.rackerlabs.dev.local:
ansible_host: 10.74.8.090
ceph-3248.rackerlabs.dev.local:
ansible_host: 10.74.8.091
ceph-6904.rackerlabs.dev.local:
ansible_host: 10.74.8.092
k8s-32762.rackerlabs.dev.local:
ansible_host: 10.74.8.093
k8s-3248.rackerlabs.dev.local:
ansible_host: 10.74.8.105
k8s-6904.rackerlabs.dev.local:
ansible_host: 10.74.8.122
controller-19391.rackerlabs.dev.local:
ansible_host: 10.74.8.124
controller-1499.rackerlabs.dev.local:
ansible_host: 10.74.8.103
controller-12462.rackerlabs.dev.local:
ansible_host: 10.74.8.104
compute-12481.rackerlabs.dev.local:
ansible_host: 10.74.8.108
compute-12562.rackerlabs.dev.local:
ansible_host: 10.74.8.109
compute-13461.rackerlabs.dev.local:
ansible_host: 10.74.8.110
storage-12481.rackerlabs.dev.local:
ansible_host: 10.74.8.111
storage-12562.rackerlabs.dev.local:
ansible_host: 10.74.8.112
storage-13461.rackerlabs.dev.local:
ansible_host: 10.74.8.113
network-12481.rackerlabs.dev.local:
ansible_host: 10.74.8.114
network-12562.rackerlabs.dev.local:
ansible_host: 10.74.8.115
network-13461.rackerlabs.dev.local:
ansible_host: 10.74.8.116
children:
k8s_cluster:
vars:
cluster_name: rackerlabs.dev.local # This clustername should be changed to match your environment domain name.
kube_ovn_iface: vlan206 # see the netplan snippet in etc/netplan/default-DHCP.yaml for more info.
kube_ovn_default_interface_name: vlan206 # see the netplan snippet in etc/netplan/default-DHCP.yaml for more info.
kube_ovn_central_hosts: "{{ groups['ovn_network_nodes'] }}"
children:
kube_control_plane: # all k8s control plane nodes need to be in this group
hosts:
k8s-3248.rackerlabs.dev.local: null
k8s-32762.rackerlabs.dev.local: null
k8s-6904.rackerlabs.dev.local: null
etcd: # all etcd nodes need to be in this group
hosts:
etcd-24021.rackerlabs.dev.local: null
etcd-25534.rackerlabs.dev.local: null
etcd-26513.rackerlabs.dev.local: null
kube_node: # all k8s enabled nodes need to be in this group
hosts:
k8s-3248.rackerlabs.dev.local: null
k8s-32762.rackerlabs.dev.local: null
k8s-6904.rackerlabs.dev.local: null
ceph-6904.rackerlabs.dev.local: null
ceph-3248.rackerlabs.dev.local: null
ceph-32762.rackerlabs.dev.local: null
controller-19391.rackerlabs.dev.local: null
controller-1499.rackerlabs.dev.local: null
controller-12462.rackerlabs.dev.local: null
network-12481.rackerlabs.dev.local: null
network-12562.rackerlabs.dev.local: null
network-13461.rackerlabs.dev.local: null
storage-12481.rackerlabs.dev.local: null
storage-12562.rackerlabs.dev.local: null
storage-13461.rackerlabs.dev.local: null
compute-13461.rackerlabs.dev.local: null
compute-12562.rackerlabs.dev.local: null
compute-12481.rackerlabs.dev.local: null
openstack_control_plane: # nodes used for nova compute labeled as openstack-control-plane=enabled
hosts:
controller-19391.rackerlabs.dev.local: null
controller-1499.rackerlabs.dev.local: null
controller-12462.rackerlabs.dev.local: null
ovn_network_nodes: # nodes used for nova compute labeled as openstack-network-node=enabled
hosts:
network-12481.rackerlabs.dev.local: null
network-12562.rackerlabs.dev.local: null
network-13461.rackerlabs.dev.local: null
storage_nodes:
children:
ceph_storage_nodes: # nodes used for ceph storage labeled as role=storage-node
hosts:
ceph-6904.rackerlabs.dev.local: null
ceph-3248.rackerlabs.dev.local: null
ceph-32762.rackerlabs.dev.local: null
cinder_storage_nodes: # nodes used for cinder storage labeled as openstack-storage-node=enabled
hosts:
storage-12481.rackerlabs.dev.local: null
storage-12562.rackerlabs.dev.local: null
storage-13461.rackerlabs.dev.local: null
nova_compute_nodes: # nodes used for nova compute labeled as openstack-compute-node=enabled
hosts:
compute-13461.rackerlabs.dev.local: null
compute-12562.rackerlabs.dev.local: null
compute-12481.rackerlabs.dev.local: null
107 changes: 0 additions & 107 deletions openstack-flex/prod-inventory-example.yaml

This file was deleted.

38 changes: 0 additions & 38 deletions openstack-flex/small-lab-inventory-example.yaml

This file was deleted.

19 changes: 0 additions & 19 deletions playbooks/inventory-example.yaml

This file was deleted.

1 change: 1 addition & 0 deletions playbooks/inventory-example.yaml