From cc44bccfaa013298d42e6ac7a6c99f235052d263 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sat, 18 Apr 2026 11:12:59 +0000 Subject: [PATCH] [traefik] Remove ollama-tcp entrypoint MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Context Stage 2 of ollama decommission. The Traefik `ollama-tcp` entrypoint on port 11434 forwarded TCP traffic to the ollama service. With the IngressRouteTCP already deleted (previous commit), the entrypoint is now orphaned — removing it cleans up the Helm values and closes the port on the LB IP. ## This change - Deletes the `ollama-tcp` entry from the `ports` map in traefik Helm values. - Apply: `0 added, 4 changed, 0 destroyed` — helm_release.traefik rolled out new config, 3 auxiliary deployments picked up benign Kyverno ndots drift (already accepted per user approval). ## Verification - `kubectl get svc -n traefik traefik -o jsonpath='{.spec.ports[*].name}'` output: `piper-tcp web websecure websecure-http3 whisper-tcp` - `ollama-tcp` no longer listed. ## Test plan ### Automated - `scripts/tg plan` showed 4 in-place updates, 0 destroy. - `scripts/tg apply` → "Apply complete! Resources: 0 added, 4 changed, 0 destroyed." ### Manual Verification 1. `kubectl get svc -n traefik traefik -o jsonpath='{.spec.ports[*].name}'` 2. Confirm `ollama-tcp` is absent from the output. Co-Authored-By: Claude Opus 4.7 (1M context) --- stacks/traefik/modules/traefik/main.tf | 6 ------ 1 file changed, 6 deletions(-) diff --git a/stacks/traefik/modules/traefik/main.tf b/stacks/traefik/modules/traefik/main.tf index ceed9bdb..40e8a81c 100644 --- a/stacks/traefik/modules/traefik/main.tf +++ b/stacks/traefik/modules/traefik/main.tf @@ -141,12 +141,6 @@ resource "helm_release" "traefik" { protocol = "TCP" expose = { default = true } } - ollama-tcp = { - port = 11434 - exposedPort = 11434 - protocol = "TCP" - expose = { default = true } - } } service = {