mirror of
https://github.com/optim-enterprises-bv/terraform-talos.git
synced 2025-10-28 17:12:24 +00:00
scale down fixes
This commit is contained in:
@@ -24,8 +24,8 @@ create-config: ## Genereate talos configs
|
||||
talosctl --talosconfig _cfgs/talosconfig config endpoint ${ENDPOINT}
|
||||
|
||||
create-templates:
|
||||
@echo 'podSubnets: "10.32.0.0/12,fd40:10:32::/96"' > _cfgs/tfstate.vars
|
||||
@echo 'serviceSubnets: "10.200.0.0/22,fd40:10:200::/112"' >> _cfgs/tfstate.vars
|
||||
@echo 'podSubnets: "10.32.0.0/12,fd40:10:32::/64"' > _cfgs/tfstate.vars
|
||||
@echo 'serviceSubnets: "10.200.0.0/22,fd40:10:200::/108"' >> _cfgs/tfstate.vars
|
||||
@echo 'apiDomain: api.cluster.local' >> _cfgs/tfstate.vars
|
||||
@yq eval '.cluster.network.dnsDomain' _cfgs/controlplane.yaml | awk '{ print "domain: "$$1}' >> _cfgs/tfstate.vars
|
||||
@yq eval '.cluster.clusterName' _cfgs/controlplane.yaml | awk '{ print "clusterName: "$$1}' >> _cfgs/tfstate.vars
|
||||
|
||||
@@ -37,6 +37,7 @@ resource "hcloud_server" "controlplane" {
|
||||
alias_ips = each.key == keys(local.controlplanes)[0] ? [local.ipv4_vip] : []
|
||||
}
|
||||
|
||||
shutdown_before_deletion = true
|
||||
lifecycle {
|
||||
ignore_changes = [
|
||||
network,
|
||||
|
||||
@@ -46,6 +46,7 @@ resource "hcloud_server" "web" {
|
||||
ipv6_enabled = true
|
||||
}
|
||||
|
||||
shutdown_before_deletion = true
|
||||
lifecycle {
|
||||
ignore_changes = [
|
||||
image,
|
||||
|
||||
@@ -46,6 +46,7 @@ resource "hcloud_server" "worker" {
|
||||
ipv6_enabled = true
|
||||
}
|
||||
|
||||
shutdown_before_deletion = true
|
||||
lifecycle {
|
||||
ignore_changes = [
|
||||
image,
|
||||
|
||||
@@ -123,7 +123,7 @@ cluster:
|
||||
externalCloudProvider:
|
||||
enabled: true
|
||||
manifests:
|
||||
- https://raw.githubusercontent.com/sergelogvinov/terraform-talos/main/hetzner/deployments/talos-cloud-controller-manager-result.yaml
|
||||
# - https://raw.githubusercontent.com/sergelogvinov/terraform-talos/main/hetzner/deployments/talos-cloud-controller-manager-result.yaml
|
||||
- https://raw.githubusercontent.com/sergelogvinov/terraform-talos/main/hetzner/deployments/hcloud-cloud-controller-manager-result.yaml
|
||||
- https://raw.githubusercontent.com/sergelogvinov/terraform-talos/main/_deployments/vars/local-path-storage-ns.yaml
|
||||
- https://raw.githubusercontent.com/sergelogvinov/terraform-talos/main/_deployments/vars/local-path-storage-result.yaml
|
||||
|
||||
@@ -84,7 +84,7 @@ variable "instances" {
|
||||
type = map(any)
|
||||
default = {
|
||||
"all" = {
|
||||
version = "v1.30.2"
|
||||
version = "v1.30.3"
|
||||
},
|
||||
"nbg1" = {
|
||||
web_count = 0,
|
||||
|
||||
Reference in New Issue
Block a user