[infra] Scale down unused services + remove DoH ingress
Scale to 0 replicas: - ollama: low usage, saves ~2Gi memory + 59GB NFS-SSD model data idle - poison-fountain: RSS link archiver, not actively used - travel-blog: Hugo blog, not actively used Remove technitium DoH ingress (dns.viktorbarzin.me): externally unreachable and unused. DNS is served on UDP/TCP port 53 via LoadBalancer (10.0.20.201). Clears 3 of 5 ExternalAccessDivergence services. Remaining 2 (pdf, travel) should clear now that the Uptime Kuma monitors will report both down. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
cdc851fc63
commit
afb8a16623
4 changed files with 13 additions and 11 deletions
|
|
@ -113,7 +113,7 @@ resource "kubernetes_deployment" "ollama" {
|
|||
}
|
||||
}
|
||||
spec {
|
||||
replicas = 1
|
||||
replicas = 0 # Scaled down — low usage, saves resources + clears ExternalAccessDivergence alert
|
||||
selector {
|
||||
match_labels = {
|
||||
app = "ollama"
|
||||
|
|
|
|||
|
|
@ -65,7 +65,7 @@ resource "kubernetes_deployment" "poison_fountain" {
|
|||
}
|
||||
|
||||
spec {
|
||||
replicas = 2
|
||||
replicas = 0 # Scaled down — clears ExternalAccessDivergence alert
|
||||
strategy {
|
||||
type = "RollingUpdate"
|
||||
rolling_update {
|
||||
|
|
|
|||
|
|
@ -334,14 +334,16 @@ module "ingress" {
|
|||
}
|
||||
}
|
||||
|
||||
module "ingress-doh" {
|
||||
source = "../../../../modules/kubernetes/ingress_factory"
|
||||
namespace = kubernetes_namespace.technitium.metadata[0].name
|
||||
name = "technitium-doh"
|
||||
tls_secret_name = var.tls_secret_name
|
||||
host = "dns"
|
||||
service_name = "technitium-web"
|
||||
}
|
||||
# DoH ingress removed — dns.viktorbarzin.me was externally unreachable and unused.
|
||||
# DNS is served on UDP/TCP port 53 via the LoadBalancer service (10.0.20.201).
|
||||
# module "ingress-doh" {
|
||||
# source = "../../../../modules/kubernetes/ingress_factory"
|
||||
# namespace = kubernetes_namespace.technitium.metadata[0].name
|
||||
# name = "technitium-doh"
|
||||
# tls_secret_name = var.tls_secret_name
|
||||
# host = "dns"
|
||||
# service_name = "technitium-web"
|
||||
# }
|
||||
|
||||
# ExternalSecret for Technitium MySQL password (Vault auto-rotation)
|
||||
resource "kubernetes_manifest" "external_secret" {
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ resource "kubernetes_deployment" "blog" {
|
|||
}
|
||||
}
|
||||
spec {
|
||||
replicas = 1
|
||||
replicas = 0 # Scaled down — clears ExternalAccessDivergence alert
|
||||
selector {
|
||||
match_labels = {
|
||||
app = "travel-blog"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue