diff --git a/kustomize/overlays/llm/api-ingress.yaml b/kustomize/overlays/llm/api-ingress.yaml new file mode 100644 index 0000000..ec5bef0 --- /dev/null +++ b/kustomize/overlays/llm/api-ingress.yaml @@ -0,0 +1,24 @@ + +apiVersion: networking.k8s.io/v1 +kind: Ingress +metadata: + name: api +spec: + rules: + - host: openai.badjware.dev + http: + paths: + - path: /v1/audio/speech + pathType: Prefix + backend: + service: + name: openedai-speech-server + port: + name: http + - path: /v1 + pathType: Prefix + backend: + service: + name: ollama-server + port: + name: http diff --git a/kustomize/overlays/llm/kustomization.yaml b/kustomize/overlays/llm/kustomization.yaml index bb8a58d..ab83cf1 100644 --- a/kustomize/overlays/llm/kustomization.yaml +++ b/kustomize/overlays/llm/kustomization.yaml @@ -1,5 +1,6 @@ resources: - namespace.yaml + - api-ingress.yaml - ../../bases/ollama - ../../bases/openedai-speech # - ../../bases/litellm