Skip to content

Commit

Permalink
add inline ingress and rename ai to gpu
Browse files Browse the repository at this point in the history
  • Loading branch information
jokestax committed Oct 10, 2024
1 parent 30b7120 commit c2d2279
Show file tree
Hide file tree
Showing 52 changed files with 30 additions and 118 deletions.

This file was deleted.

24 changes: 0 additions & 24 deletions civo-github/templates/ai-cluster/ollama-ingress.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: <WORKLOAD_CLUSTER_NAME>-openwebui
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: '30'
argocd.argoproj.io/sync-wave: '50'
spec:
project: <WORKLOAD_CLUSTER_NAME>
source:
Expand All @@ -28,13 +28,20 @@ spec:
- "--gpus all"
extraHosts:
- "host.docker.internal:host-gateway"
volumeMounts:
- name: openwebui-data
mountPath: /app/backend/data
volumes:
- name: openwebui-data
persistentVolumeClaim:
claimName: open-webui-pvc
persistentVolume:
enabled: true
size: 50Gi
ingress:
enabled: true
class: "nginx"
annotations:
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
host: "ollama.<DOMAIN_NAME>"
tls: true
existingSecret: "<WORKLOAD_CLUSTER_NAME>-ollama-http-ingress"
destination:
name: <WORKLOAD_CLUSTER_NAME>
namespace: openwebui
Expand Down

This file was deleted.

24 changes: 0 additions & 24 deletions civo-gitlab/templates/ai-cluster/ollama-ingress.yaml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ metadata:
name: <WORKLOAD_CLUSTER_NAME>-openwebui
namespace: argocd
annotations:
argocd.argoproj.io/sync-wave: '30'
argocd.argoproj.io/sync-wave: '50'
spec:
project: <WORKLOAD_CLUSTER_NAME>
source:
Expand All @@ -28,13 +28,20 @@ spec:
- "--gpus all"
extraHosts:
- "host.docker.internal:host-gateway"
volumeMounts:
- name: openwebui-data
mountPath: /app/backend/data
volumes:
- name: openwebui-data
persistentVolumeClaim:
claimName: open-webui-pvc
persistentVolume:
enabled: true
size: 50Gi
ingress:
enabled: true
class: "nginx"
annotations:
nginx.ingress.kubernetes.io/force-ssl-redirect: "true"
nginx.ingress.kubernetes.io/backend-protocol: "HTTP"
cert-manager.io/cluster-issuer: "letsencrypt-prod"
host: "ollama.<DOMAIN_NAME>"
tls: true
existingSecret: "<WORKLOAD_CLUSTER_NAME>-ollama-http-ingress"
destination:
name: <WORKLOAD_CLUSTER_NAME>
namespace: openwebui
Expand Down

0 comments on commit c2d2279

Please sign in to comment.