Skip to content

Commit

Permalink
testing the ingress
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCardin committed Jun 30, 2024
1 parent 6ca2f1b commit 2ad2c08
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 22 deletions.
21 changes: 0 additions & 21 deletions kubernetes/apps/ollama/base/httproutes.yaml

This file was deleted.

24 changes: 24 additions & 0 deletions kubernetes/apps/ollama/base/ingress.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: ingress-external-ollama
namespace: ollama
annotations:
cert-manager.io/cluster-issuer: letsencrypt-prod
spec:
ingressClassName: cilium
rules:
- host: ollama.ninebasetwo.net
http:
paths:
- path: /
pathType: Prefix
backend:
service:
name: open-webui-service
port:
number: 8080
tls:
- hosts:
- ollama.ninebasetwo.net
secretName: ollama-tls
2 changes: 1 addition & 1 deletion kubernetes/apps/ollama/base/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ apiVersion: kustomize.config.k8s.io/v1beta1
kind: Kustomization

resources:
- httproutes.yaml
- ingress.yaml
- ollama/ollama-statefulset.yaml
- webui/webui-deployment.yaml

0 comments on commit 2ad2c08

Please sign in to comment.