refactor: re-scale cluster
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
830ec43930
commit
1e3a018a3b
2 changed files with 21 additions and 4 deletions
|
@ -1,6 +1,15 @@
|
||||||
|
|
||||||
terraform {
|
terraform {
|
||||||
required_version = ">= 0.14"
|
required_version = ">= 0.14"
|
||||||
|
|
||||||
|
cloud {
|
||||||
|
organization = "pkurfer"
|
||||||
|
|
||||||
|
workspaces {
|
||||||
|
name = "hcloud-infra"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
required_providers {
|
required_providers {
|
||||||
hcloud = {
|
hcloud = {
|
||||||
source = "hetznercloud/hcloud"
|
source = "hetznercloud/hcloud"
|
||||||
|
@ -19,4 +28,4 @@ terraform {
|
||||||
version = "~> 3.2.1"
|
version = "~> 3.2.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
k3os_workers = {
|
k3os_workers = {
|
||||||
"worker1-gen4" = {
|
"worker1-gen5" = {
|
||||||
backups = false
|
backups = false
|
||||||
node_type = "worker"
|
node_type = "worker"
|
||||||
server_type = "cx31"
|
server_type = "cx21"
|
||||||
private_ip = "172.23.2.20"
|
private_ip = "172.23.2.23"
|
||||||
location = "hel1"
|
location = "hel1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,6 +14,14 @@ k3os_workers = {
|
||||||
private_ip = "172.23.2.21"
|
private_ip = "172.23.2.21"
|
||||||
location = "fsn1"
|
location = "fsn1"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
"worker3-gen4" = {
|
||||||
|
backups = false
|
||||||
|
node_type = "worker"
|
||||||
|
server_type = "cax21"
|
||||||
|
private_ip = "172.23.2.22"
|
||||||
|
location = "fsn1"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
vms = {
|
vms = {
|
||||||
|
|
Loading…
Reference in a new issue