mirror of
https://github.com/phfroidmont/self-hosting.git
synced 2025-12-25 05:36:59 +01:00
Migrate to Hetzner cloud
This commit is contained in:
parent
d3c99dad0b
commit
c311cd4f7e
37 changed files with 416 additions and 299 deletions
|
|
@ -1,3 +1,5 @@
|
|||
---
|
||||
cert_manager_issuer: letsencrypt-staging
|
||||
banditlair_domain: k8s.banditlair.com
|
||||
banditlair_domain: k8s.banditlair.com
|
||||
floating_ip: 116.203.8.164
|
||||
floating_ip_id: 91174
|
||||
|
|
|
|||
|
|
@ -1,15 +1,14 @@
|
|||
[test-master]
|
||||
[test-etcd]
|
||||
[test-node]
|
||||
[master]
|
||||
[node]
|
||||
|
||||
[kube-master:children]
|
||||
test-master
|
||||
master
|
||||
|
||||
[etcd:children]
|
||||
test-etcd
|
||||
master
|
||||
|
||||
[kube-node:children]
|
||||
test-node
|
||||
node
|
||||
|
||||
[k8s-cluster:children]
|
||||
kube-master
|
||||
|
|
|
|||
6
inventories/test/masters_hcloud.yml
Normal file
6
inventories/test/masters_hcloud.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
plugin: hcloud
|
||||
|
||||
label_selector: type=master
|
||||
|
||||
groups:
|
||||
master: yes
|
||||
6
inventories/test/nodes_hcloud.yml
Normal file
6
inventories/test/nodes_hcloud.yml
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
plugin: hcloud
|
||||
|
||||
label_selector: type=node
|
||||
|
||||
groups:
|
||||
node: yes
|
||||
|
|
@ -1,12 +0,0 @@
|
|||
plugin: scaleway
|
||||
hostnames:
|
||||
- hostname
|
||||
regions:
|
||||
- par1
|
||||
- ams1
|
||||
tags:
|
||||
- test-master
|
||||
- test-etcd
|
||||
- test-node
|
||||
variables:
|
||||
ansible_host: public_ip.address
|
||||
Loading…
Add table
Add a link
Reference in a new issue