Add NodePort service for ollama LAN access
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
31d925814f
commit
203e3cd567
2 changed files with 17 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ resources:
|
|||
- pvc.yaml
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
- service-nodeport.yaml
|
||||
- ingress-tailscale.yaml
|
||||
|
||||
images:
|
||||
|
|
|
|||
16
argocd/manifests/ollama/service-nodeport.yaml
Normal file
16
argocd/manifests/ollama/service-nodeport.yaml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue