From 203e3cd567ba83db7b0cac8941147e5b704927de Mon Sep 17 00:00:00 2001 From: Erich Blume Date: Mon, 2 Mar 2026 20:57:18 -0800 Subject: [PATCH] Add NodePort service for ollama LAN access Co-Authored-By: Claude Opus 4.6 --- argocd/manifests/ollama/kustomization.yaml | 1 + argocd/manifests/ollama/service-nodeport.yaml | 16 ++++++++++++++++ 2 files changed, 17 insertions(+) create mode 100644 argocd/manifests/ollama/service-nodeport.yaml diff --git a/argocd/manifests/ollama/kustomization.yaml b/argocd/manifests/ollama/kustomization.yaml index 75add74..78500d4 100644 --- a/argocd/manifests/ollama/kustomization.yaml +++ b/argocd/manifests/ollama/kustomization.yaml @@ -7,6 +7,7 @@ resources: - pvc.yaml - deployment.yaml - service.yaml + - service-nodeport.yaml - ingress-tailscale.yaml images: diff --git a/argocd/manifests/ollama/service-nodeport.yaml b/argocd/manifests/ollama/service-nodeport.yaml new file mode 100644 index 0000000..ab2a2cf --- /dev/null +++ b/argocd/manifests/ollama/service-nodeport.yaml @@ -0,0 +1,16 @@ +--- +# Local subnet access for non-tailnet devices +apiVersion: v1 +kind: Service +metadata: + name: ollama-nodeport + namespace: ollama +spec: + type: NodePort + selector: + app: ollama + ports: + - name: http + port: 11434 + targetPort: 11434 + nodePort: 30434