Add NodePort service for ollama LAN access

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Erich Blume 2026-03-02 20:57:18 -08:00
commit 203e3cd567
2 changed files with 17 additions and 0 deletions

View file

@ -7,6 +7,7 @@ resources:
- pvc.yaml
- deployment.yaml
- service.yaml
- service-nodeport.yaml
- ingress-tailscale.yaml
images:

View file

@ -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