This commit is contained in:
ION606
2025-09-13 22:31:18 -04:00
parent bf98e2055e
commit b4f2ec3ce4
24 changed files with 111 additions and 117 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ metadata:
spec: spec:
destinations: destinations:
- server: https://kubernetes.default.svc - server: https://kubernetes.default.svc
namespace: ai namespace: argocd
- server: https://kubernetes.default.svc - server: https://kubernetes.default.svc
namespace: argo namespace: argo
# # only add if need to deploy into argocd (ehhhhh) # # only add if need to deploy into argocd (ehhhhh)
@@ -24,7 +24,7 @@ spec:
project: ai-stack project: ai-stack
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: ai namespace: argocd
source: source:
repoURL: https://git.ion606.com/ion606/ollama-plus repoURL: https://git.ion606.com/ion606/ollama-plus
targetRevision: argo targetRevision: argo
+2 -2
View File
@@ -2,7 +2,7 @@ apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: argo-templates name: argo-templates
namespace: ai namespace: argocd
spec: spec:
project: ai-stack project: ai-stack
destination: destination:
@@ -10,7 +10,7 @@ spec:
namespace: argo namespace: argo
source: source:
repoURL: https://git.ion606.com/ion606/ollama-plus repoURL: https://git.ion606.com/ion606/ollama-plus
targetRevision: main targetRevision: argo
path: apps/argo-templates path: apps/argo-templates
syncPolicy: syncPolicy:
automated: automated:
+3 -3
View File
@@ -2,15 +2,15 @@ apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: browser name: browser
namespace: ai namespace: argocd
spec: spec:
project: ai-stack project: ai-stack
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: ai namespace: argocd
source: source:
repoURL: https://git.ion606.com/ion606/ollama-plus.git repoURL: https://git.ion606.com/ion606/ollama-plus.git
targetRevision: main targetRevision: argo
path: manifests/browser path: manifests/browser
syncPolicy: syncPolicy:
automated: automated:
+3 -3
View File
@@ -2,17 +2,17 @@ apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: coderunner name: coderunner
namespace: ai namespace: argocd
labels: labels:
repo.ion606.com/ollama-plus: "true" repo.ion606.com/ollama-plus: "true"
spec: spec:
project: ai-stack project: ai-stack
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: ai namespace: argocd
source: source:
repoURL: https://git.ion606.com/ion606/ollama-plus repoURL: https://git.ion606.com/ion606/ollama-plus
targetRevision: main targetRevision: argo
path: manifests/coderunner path: manifests/coderunner
syncPolicy: syncPolicy:
automated: automated:
+3 -4
View File
@@ -2,20 +2,19 @@ apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: debug-netshoot name: debug-netshoot
namespace: ai namespace: argocd
labels: labels:
repo.ion606.com/ollama-plus: "true" repo.ion606.com/ollama-plus: "true"
spec: spec:
project: ai-stack project: ai-stack
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: ai namespace: argocd
source: source:
repoURL: https://git.ion606.com/ion606/ollama-plus repoURL: https://git.ion606.com/ion606/ollama-plus
targetRevision: main targetRevision: argo
path: manifests/debug path: manifests/debug
syncPolicy: syncPolicy:
automated: automated:
prune: true prune: true
selfHeal: true selfHeal: true
+2 -2
View File
@@ -2,7 +2,7 @@ apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: ollama-scheduler name: ollama-scheduler
namespace: ai namespace: argocd
labels: labels:
repo.ion606.com/ollama-plus: "true" repo.ion606.com/ollama-plus: "true"
spec: spec:
@@ -12,7 +12,7 @@ spec:
namespace: argo namespace: argo
source: source:
repoURL: https://git.ion606.com/ion606/ollama-plus repoURL: https://git.ion606.com/ion606/ollama-plus
targetRevision: main targetRevision: argo
path: manifests/argo-schedules-api path: manifests/argo-schedules-api
syncPolicy: syncPolicy:
automated: automated:
+2 -2
View File
@@ -2,14 +2,14 @@ apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: openwebui name: openwebui
namespace: ai namespace: argocd
annotations: annotations:
argocd.argoproj.io/sync-wave: "0" argocd.argoproj.io/sync-wave: "0"
spec: spec:
project: ai-stack project: ai-stack
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: ai namespace: argocd
source: source:
repoURL: https://helm.openwebui.com repoURL: https://helm.openwebui.com
chart: open-webui chart: open-webui
+2 -3
View File
@@ -2,7 +2,7 @@ apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: policy-argo name: policy-argo
namespace: ai namespace: argocd
labels: labels:
repo.ion606.com/ollama-plus: "true" repo.ion606.com/ollama-plus: "true"
spec: spec:
@@ -12,10 +12,9 @@ spec:
namespace: argo namespace: argo
source: source:
repoURL: https://git.ion606.com/ion606/ollama-plus repoURL: https://git.ion606.com/ion606/ollama-plus
targetRevision: main targetRevision: argo
path: manifests/policy-argo path: manifests/policy-argo
syncPolicy: syncPolicy:
automated: automated:
prune: true prune: true
selfHeal: true selfHeal: true
+3 -4
View File
@@ -2,20 +2,19 @@ apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: policy name: policy
namespace: ai namespace: argocd
labels: labels:
repo.ion606.com/ollama-plus: "true" repo.ion606.com/ollama-plus: "true"
spec: spec:
project: ai-stack project: ai-stack
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: ai namespace: argocd
source: source:
repoURL: https://git.ion606.com/ion606/ollama-plus repoURL: https://git.ion606.com/ion606/ollama-plus
targetRevision: main targetRevision: argo
path: manifests/policy path: manifests/policy
syncPolicy: syncPolicy:
automated: automated:
prune: true prune: true
selfHeal: true selfHeal: true
+2 -2
View File
@@ -2,14 +2,14 @@ apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: postgresql name: postgresql
namespace: ai namespace: argocd
annotations: annotations:
argocd.argoproj.io/sync-wave: "-10" argocd.argoproj.io/sync-wave: "-10"
spec: spec:
project: ai-stack project: ai-stack
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: ai namespace: argocd
source: source:
repoURL: https://charts.bitnami.com/bitnami repoURL: https://charts.bitnami.com/bitnami
chart: postgresql chart: postgresql
+3 -3
View File
@@ -2,17 +2,17 @@ apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: rag-server name: rag-server
namespace: ai namespace: argocd
labels: labels:
repo.ion606.com/ollama-plus: "true" repo.ion606.com/ollama-plus: "true"
spec: spec:
project: ai-stack project: ai-stack
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: ai namespace: argocd
source: source:
repoURL: https://git.ion606.com/ion606/ollama-plus repoURL: https://git.ion606.com/ion606/ollama-plus
targetRevision: main targetRevision: argo
path: manifests/rag-server path: manifests/rag-server
syncPolicy: syncPolicy:
automated: automated:
+2 -2
View File
@@ -2,12 +2,12 @@ apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: searxng name: searxng
namespace: ai namespace: argocd
spec: spec:
project: ai-stack project: ai-stack
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: ai namespace: argocd
source: source:
repoURL: https://charts.kubito.dev repoURL: https://charts.kubito.dev
chart: searxng chart: searxng
+3 -3
View File
@@ -2,17 +2,17 @@ apiVersion: argoproj.io/v1alpha1
kind: Application kind: Application
metadata: metadata:
name: tools name: tools
namespace: ai namespace: argocd
labels: labels:
repo.ion606.com/ollama-plus: "true" repo.ion606.com/ollama-plus: "true"
spec: spec:
project: ai-stack project: ai-stack
destination: destination:
server: https://kubernetes.default.svc server: https://kubernetes.default.svc
namespace: ai namespace: argocd
source: source:
repoURL: https://git.ion606.com/ion606/ollama-plus repoURL: https://git.ion606.com/ion606/ollama-plus
targetRevision: main targetRevision: argo
path: manifests/tools path: manifests/tools
syncPolicy: syncPolicy:
automated: automated:
+2 -2
View File
@@ -1,6 +1,6 @@
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: { name: browser, namespace: ai } metadata: { name: browser, namespace: argocd }
spec: spec:
replicas: 1 replicas: 1
selector: { matchLabels: { app: browser } } selector: { matchLabels: { app: browser } }
@@ -28,7 +28,7 @@ spec:
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: { name: browser, namespace: ai } metadata: { name: browser, namespace: argocd }
spec: spec:
selector: { app: browser } selector: { app: browser }
ports: ports:
+2 -2
View File
@@ -1,6 +1,6 @@
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: { name: coderunner, namespace: ai } metadata: { name: coderunner, namespace: argocd }
spec: spec:
replicas: 1 replicas: 1
selector: { matchLabels: { app: coderunner } } selector: { matchLabels: { app: coderunner } }
@@ -32,7 +32,7 @@ spec:
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: { name: coderunner, namespace: ai } metadata: { name: coderunner, namespace: argocd }
spec: spec:
selector: { app: coderunner } selector: { app: coderunner }
ports: ports:
+4 -4
View File
@@ -1,10 +1,10 @@
apiVersion: v1 apiVersion: v1
kind: ServiceAccount kind: ServiceAccount
metadata: { name: coderunner-sa, namespace: ai } metadata: { name: coderunner-sa, namespace: argocd }
--- ---
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: Role kind: Role
metadata: { name: coderunner-job-role, namespace: ai } metadata: { name: coderunner-job-role, namespace: argocd }
rules: rules:
- apiGroups: ["batch"] - apiGroups: ["batch"]
resources: ["jobs"] resources: ["jobs"]
@@ -16,11 +16,11 @@ rules:
--- ---
apiVersion: rbac.authorization.k8s.io/v1 apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding kind: RoleBinding
metadata: { name: coderunner-job-rb, namespace: ai } metadata: { name: coderunner-job-rb, namespace: argocd }
subjects: subjects:
- kind: ServiceAccount - kind: ServiceAccount
name: coderunner-sa name: coderunner-sa
namespace: ai namespace: argocd
roleRef: roleRef:
apiGroup: rbac.authorization.k8s.io apiGroup: rbac.authorization.k8s.io
kind: Role kind: Role
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: metadata:
name: netshoot name: netshoot
namespace: ai namespace: argocd
spec: spec:
replicas: 1 replicas: 1
selector: selector:
+1 -2
View File
@@ -2,7 +2,7 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy kind: NetworkPolicy
metadata: metadata:
name: allow-browser-ingress name: allow-browser-ingress
namespace: ai namespace: argocd
spec: spec:
podSelector: podSelector:
matchLabels: matchLabels:
@@ -14,4 +14,3 @@ spec:
cidr: 0.0.0.0/0 cidr: 0.0.0.0/0
ports: ports:
- { protocol: TCP, port: 7788 } - { protocol: TCP, port: 7788 }
+1 -2
View File
@@ -2,7 +2,7 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy kind: NetworkPolicy
metadata: metadata:
name: allow-common-egress name: allow-common-egress
namespace: ai namespace: argocd
spec: spec:
podSelector: {} podSelector: {}
policyTypes: ["Egress"] policyTypes: ["Egress"]
@@ -23,4 +23,3 @@ spec:
kubernetes.io/metadata.name: ai kubernetes.io/metadata.name: ai
ports: ports:
- { protocol: TCP, port: 5432 } - { protocol: TCP, port: 5432 }
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy kind: NetworkPolicy
metadata: metadata:
name: allow-https-egress name: allow-https-egress
namespace: ai namespace: argocd
spec: spec:
podSelector: {} podSelector: {}
policyTypes: ["Egress"] policyTypes: ["Egress"]
@@ -2,7 +2,7 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy kind: NetworkPolicy
metadata: metadata:
name: allow-openwebui-ingress name: allow-openwebui-ingress
namespace: ai namespace: argocd
spec: spec:
# Select the Open WebUI pods deployed by the Helm release "openwebui" # Select the Open WebUI pods deployed by the Helm release "openwebui"
podSelector: podSelector:
@@ -17,4 +17,3 @@ spec:
# Open WebUI typically listens on 8080 (chart default), sometimes 80 # Open WebUI typically listens on 8080 (chart default), sometimes 80
- { protocol: TCP, port: 8080 } - { protocol: TCP, port: 8080 }
- { protocol: TCP, port: 80 } - { protocol: TCP, port: 80 }
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: networking.k8s.io/v1
kind: NetworkPolicy kind: NetworkPolicy
metadata: metadata:
name: default-deny-all name: default-deny-all
namespace: ai namespace: argocd
spec: spec:
podSelector: {} # die podSelector: {} # die
policyTypes: ["Ingress", "Egress"] policyTypes: ["Ingress", "Egress"]
+2 -2
View File
@@ -1,6 +1,6 @@
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: { name: rag-server, namespace: ai } metadata: { name: rag-server, namespace: argocd }
spec: spec:
replicas: 1 replicas: 1
selector: { matchLabels: { app: rag-server } } selector: { matchLabels: { app: rag-server } }
@@ -30,7 +30,7 @@ spec:
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: { name: rag-server, namespace: ai } metadata: { name: rag-server, namespace: argocd }
spec: spec:
selector: { app: rag-server } selector: { app: rag-server }
ports: ports:
+2 -2
View File
@@ -1,6 +1,6 @@
apiVersion: apps/v1 apiVersion: apps/v1
kind: Deployment kind: Deployment
metadata: { name: tools, namespace: ai } metadata: { name: tools, namespace: argocd }
spec: spec:
replicas: 1 replicas: 1
selector: { matchLabels: { app: tools } } selector: { matchLabels: { app: tools } }
@@ -26,7 +26,7 @@ spec:
--- ---
apiVersion: v1 apiVersion: v1
kind: Service kind: Service
metadata: { name: tools, namespace: ai } metadata: { name: tools, namespace: argocd }
spec: spec:
selector: { app: tools } selector: { app: tools }
ports: ports: