refactor: remove 'ollama-external.yaml' and its manual exclusion from ArgoCD application
This commit is contained in:
parent
e1fd813b7e
commit
91f8167323
@ -12,8 +12,6 @@ spec:
|
||||
directory:
|
||||
recurse: true
|
||||
include: '*.yaml'
|
||||
# This is applied manually since Endpoints resource cannot be managed by ArgoCD
|
||||
exclude: 'ollama-external.yaml'
|
||||
destination:
|
||||
server: https://kubernetes.default.svc
|
||||
namespace: default
|
||||
|
||||
@ -1,28 +0,0 @@
|
||||
---
|
||||
# Apply: kubectl apply -f manifests/core/ollama-external.yaml
|
||||
# Delete: kubectl delete -f manifests/core/ollama-external.yaml
|
||||
# Description: Exposes the Mac Mini's Ollama instance to the K3s cluster via a headless Service + Endpoints pair.
|
||||
# Allows any pod to reach Ollama at http://ollama.default.svc.cluster.local:11434
|
||||
|
||||
apiVersion: v1
|
||||
kind: Endpoints
|
||||
metadata:
|
||||
name: ollama
|
||||
namespace: default
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: 192.168.7.96
|
||||
ports:
|
||||
- port: 11434
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: ollama
|
||||
namespace: default
|
||||
spec:
|
||||
ports:
|
||||
- name: http
|
||||
port: 11434
|
||||
targetPort: 11434
|
||||
clusterIP: None
|
||||
Loading…
x
Reference in New Issue
Block a user