Last active
November 18, 2018 04:39
-
-
Save mcornea/9192c1e8969c2d3d96a72a5e797f5030 to your computer and use it in GitHub Desktop.
infrared infrastructure
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: infra | |
prefix: null | |
cpu: "2" | |
cpumodel: "host-passthrough" | |
memory: "8192" | |
swap: "0" | |
deploy_os: true | |
os: | |
type: "linux" | |
variant: "rhel7" | |
disks: | |
disk1: | |
import_url: null | |
path: null | |
dev: "/dev/vda" | |
size: "15G" | |
cache: "unsafe" | |
preallocation: "metadata" | |
disk2: | |
import_url: null | |
path: null | |
dev: /dev/vdb | |
size: "16G" | |
cache: "unsafe" | |
preallocation: "metadata" | |
interfaces: null | |
groups: | |
- infra |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
networks: | |
net1: | |
external_connectivity: yes | |
name: "internal" | |
ip_address: "172.16.0.1" | |
netmask: "255.255.255.0" | |
forward: nat | |
dhcp: | |
range: | |
start: "172.16.0.2" | |
end: "172.16.0.100" | |
subnet_cidr: "172.16.0.0/24" | |
subnet_gateway: "172.16.0.1" | |
net2: | |
external_connectivity: yes | |
name: "external" | |
ip_address: "10.0.0.1" | |
netmask: "255.255.255.0" | |
forward: nat | |
dhcp: | |
range: | |
start: "10.0.0.2" | |
end: "10.0.0.100" | |
subnet_cidr: "10.0.0.0/24" | |
subnet_gateway: "10.0.0.1" | |
nodes: | |
default: | |
interfaces: | |
- network: "internal" | |
external_network: | |
network: "internal" | |
loadbalancer: | |
interfaces: | |
- network: "external" | |
- network: "internal" | |
external_network: | |
network: "external" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: loadbalancer | |
prefix: null | |
cpu: "2" | |
cpumodel: "host-passthrough" | |
memory: "2048" | |
swap: "0" | |
deploy_os: true | |
os: | |
type: "linux" | |
variant: "rhel7" | |
disks: | |
disk1: | |
import_url: null | |
path: null | |
dev: "/dev/vda" | |
size: "20G" | |
cache: "unsafe" | |
preallocation: "metadata" | |
interfaces: null | |
groups: | |
- loadbalancer |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: management | |
prefix: null | |
cpu: "2" | |
cpumodel: "host-passthrough" | |
memory: "2048" | |
swap: "0" | |
deploy_os: true | |
os: | |
type: "linux" | |
variant: "rhel7" | |
disks: | |
disk1: | |
import_url: null | |
path: null | |
dev: "/dev/vda" | |
size: "15G" | |
cache: "unsafe" | |
preallocation: "metadata" | |
# infraces and external_network dicts were moved to network file. | |
interfaces: null | |
groups: | |
- management |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: master | |
prefix: null | |
cpu: "4" | |
cpumodel: "host-passthrough" | |
memory: "8192" | |
swap: "0" | |
deploy_os: true | |
os: | |
type: "linux" | |
variant: "rhel7" | |
disks: | |
disk1: | |
import_url: null | |
path: null | |
dev: "/dev/vda" | |
size: "50G" | |
cache: "unsafe" | |
preallocation: "metadata" | |
interfaces: null | |
groups: | |
- master |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: worker | |
prefix: null | |
cpu: "4" | |
cpumodel: "host-passthrough" | |
memory: "8192" | |
swap: "0" | |
deploy_os: true | |
os: | |
type: "linux" | |
variant: "rhel7" | |
disks: | |
disk1: | |
import_url: null | |
path: null | |
dev: "/dev/vda" | |
size: "15G" | |
cache: "unsafe" | |
preallocation: "metadata" | |
disk2: | |
import_url: null | |
path: null | |
dev: /dev/vdb | |
size: "16G" | |
cache: "unsafe" | |
preallocation: "metadata" | |
interfaces: null | |
groups: | |
- worker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment