mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 13:46:59 +01:00
Support multiple environments
This commit is contained in:
parent
224bdffc8b
commit
51fb76ffb6
9 changed files with 41 additions and 32 deletions
|
|
@ -1,10 +0,0 @@
|
|||
[kube-master]
|
||||
|
||||
[etcd]
|
||||
|
||||
[kube-node]
|
||||
|
||||
[k8s]
|
||||
|
||||
[k8s-cluster:children]
|
||||
k8s
|
||||
|
|
@ -3,4 +3,4 @@ ip: "{{vpn_ip}}"
|
|||
kube_network_plugin: flannel
|
||||
bin_dir: /usr/local/bin
|
||||
cluster_name: banditlair-staging
|
||||
dns_domain: k8s.staging.banditlair.com
|
||||
dns_domain: staging.k8s.banditlair.com
|
||||
17
inventories/test/groups
Normal file
17
inventories/test/groups
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
[test-master]
|
||||
[test-etcd]
|
||||
[test-node]
|
||||
|
||||
[kube-master:children]
|
||||
test-master
|
||||
|
||||
[etcd:children]
|
||||
test-etcd
|
||||
|
||||
[kube-node:children]
|
||||
test-node
|
||||
|
||||
[k8s-cluster:children]
|
||||
kube-master
|
||||
etcd
|
||||
kube-node
|
||||
|
|
@ -5,9 +5,8 @@ regions:
|
|||
- par1
|
||||
- ams1
|
||||
tags:
|
||||
- k8s
|
||||
- kube-master
|
||||
- etcd
|
||||
- kube-node
|
||||
- test-master
|
||||
- test-etcd
|
||||
- test-node
|
||||
variables:
|
||||
ansible_host: public_ip.address
|
||||
Loading…
Add table
Add a link
Reference in a new issue