initial argo commit
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: AppProject
|
||||
metadata: { name: ai-stack, namespace: argocd }
|
||||
spec:
|
||||
destinations: [{ namespace: ai, server: https://kubernetes.default.svc }]
|
||||
sourceRepos: ["*"]
|
||||
|
||||
---
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata: { name: ai-stack, namespace: argocd }
|
||||
spec:
|
||||
project: ai-stack
|
||||
destination: { server: https://kubernetes.default.svc, namespace: ai }
|
||||
source:
|
||||
repoURL: https://git.ion606.com/ion606/ollama-plus
|
||||
targetRevision: main
|
||||
path: apps/children
|
||||
directory: { recurse: true }
|
||||
syncPolicy:
|
||||
automated: { prune: true, selfHeal: true }
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata: { name: browser, namespace: argocd }
|
||||
spec:
|
||||
project: ai-stack
|
||||
destination: { server: https://kubernetes.default.svc, namespace: ai }
|
||||
source:
|
||||
repoURL: https://your.git/repo.git
|
||||
targetRevision: main
|
||||
path: manifests/browser
|
||||
syncPolicy: { automated: { prune: true, selfHeal: true } }
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata: { name: coderunner, namespace: argocd }
|
||||
spec:
|
||||
project: ai-stack
|
||||
destination: { server: https://kubernetes.default.svc, namespace: ai }
|
||||
source:
|
||||
repoURL: https://git.ion606.com/ion606/ollama-plus
|
||||
targetRevision: main
|
||||
path: manifests/coderunner
|
||||
syncPolicy: { automated: { prune: true, selfHeal: true } }
|
||||
@@ -0,0 +1,15 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata: { name: ollama, namespace: argocd }
|
||||
spec:
|
||||
project: ai-stack
|
||||
destination: { server: https://kubernetes.default.svc, namespace: ai }
|
||||
source:
|
||||
repoURL: https://helm.otwld.com
|
||||
chart: ollama
|
||||
targetRevision: "*"
|
||||
helm:
|
||||
values: |
|
||||
service: { type: ClusterIP }
|
||||
# add gpu values later if your node has one
|
||||
syncPolicy: { automated: { prune: true, selfHeal: true } }
|
||||
@@ -0,0 +1,23 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata: { name: open-webui, namespace: argocd }
|
||||
spec:
|
||||
project: ai-stack
|
||||
destination: { server: https://kubernetes.default.svc, namespace: ai }
|
||||
source:
|
||||
repoURL: https://helm.openwebui.com
|
||||
chart: open-webui
|
||||
targetRevision: "*"
|
||||
helm:
|
||||
values: |
|
||||
persistence:
|
||||
enabled: true
|
||||
size: 5Gi
|
||||
service: { type: ClusterIP }
|
||||
ingress:
|
||||
enabled: true
|
||||
className: nginx
|
||||
hosts:
|
||||
- host: openwebui.local
|
||||
paths: [{ path: "/", pathType: Prefix }]
|
||||
syncPolicy: { automated: { prune: true, selfHeal: true } }
|
||||
@@ -0,0 +1,22 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata: { name: postgresql, namespace: argocd }
|
||||
spec:
|
||||
project: ai-stack
|
||||
destination: { server: https://kubernetes.default.svc, namespace: ai }
|
||||
source:
|
||||
repoURL: https://charts.bitnami.com/bitnami
|
||||
chart: postgresql
|
||||
targetRevision: "*"
|
||||
helm:
|
||||
values: |
|
||||
architecture: replication
|
||||
auth:
|
||||
username: openwebui
|
||||
password: openwebui-pass
|
||||
database: openwebui_db
|
||||
primary:
|
||||
persistence: { enabled: true, size: 5Gi }
|
||||
readReplicas:
|
||||
replicaCount: 1
|
||||
syncPolicy: { automated: { prune: true, selfHeal: true } }
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata: { name: rag-server, namespace: argocd }
|
||||
spec:
|
||||
project: ai-stack
|
||||
destination: { server: https://kubernetes.default.svc, namespace: ai }
|
||||
source:
|
||||
repoURL: https://git.ion606.com/ion606/ollama-plus
|
||||
targetRevision: main
|
||||
path: manifests/rag-server
|
||||
syncPolicy: { automated: { prune: true, selfHeal: true } }
|
||||
@@ -0,0 +1,14 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata: { name: searxng, namespace: argocd }
|
||||
spec:
|
||||
project: ai-stack
|
||||
destination: { server: https://kubernetes.default.svc, namespace: ai }
|
||||
source:
|
||||
repoURL: https://charts.kubito.dev
|
||||
chart: searxng
|
||||
targetRevision: "*"
|
||||
helm:
|
||||
values: |
|
||||
service: { type: ClusterIP }
|
||||
syncPolicy: { automated: { prune: true, selfHeal: true } }
|
||||
@@ -0,0 +1,11 @@
|
||||
apiVersion: argoproj.io/v1alpha1
|
||||
kind: Application
|
||||
metadata: { name: tools, namespace: argocd }
|
||||
spec:
|
||||
project: ai-stack
|
||||
destination: { server: https://kubernetes.default.svc, namespace: ai }
|
||||
source:
|
||||
repoURL: https://git.ion606.com/ion606/ollama-plus
|
||||
targetRevision: main
|
||||
path: manifests/tools
|
||||
syncPolicy: { automated: { prune: true, selfHeal: true } }
|
||||
Reference in New Issue
Block a user