Skip to content

Commit a0d515e

Browse files
committed
feat: added local AI deployment
1 parent e2935f7 commit a0d515e

File tree

1 file changed

+67
-0
lines changed

1 file changed

+67
-0
lines changed

rke2/argoApps/local-ai.yaml

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
---
2+
apiVersion: argoproj.io/v1alpha1
3+
kind: ApplicationSet
4+
metadata:
5+
name: local-ai
6+
namespace: argocd
7+
spec:
8+
generators:
9+
- list:
10+
elements:
11+
- env: rke2
12+
namespace: local-ai
13+
template:
14+
metadata:
15+
name: 'local-ai-{{env}}'
16+
finalizers: []
17+
spec:
18+
project: infra-core
19+
destination:
20+
name: '{{env}}'
21+
namespace: '{{namespace}}'
22+
source:
23+
repoURL: https://go-skynet.github.io/helm-charts
24+
targetRevision: 2.*.*
25+
chart: local-ai
26+
helm:
27+
releaseName: 'local-ai-{{env}}'
28+
valuesObject:
29+
models:
30+
forceDownload: false
31+
list:
32+
- url: "https://gpt4all.io/models/ggml-gpt4all-j.bin"
33+
persistence:
34+
pvc:
35+
enabled: false
36+
size: 6Gi
37+
accessModes:
38+
- ReadWriteOnce
39+
annotations: {}
40+
storageClass:
41+
ingress:
42+
enabled: true
43+
className: nginx
44+
annotations:
45+
cert-manager.io/cluster-issuer: vault-issuer
46+
cert-manager.io/common-name: local-ai.k8s-app.fredcorp.com
47+
hosts:
48+
- host: local-ai.k8s-app.fredcorp.com
49+
paths:
50+
- path: /
51+
pathType: "ImplementationSpecific"
52+
tls:
53+
- secretName: local-ai-tls-cert
54+
hosts:
55+
- local-ai.k8s-app.fredcorp.com
56+
syncPolicy:
57+
automated:
58+
prune: true
59+
selfHeal: true
60+
syncOptions:
61+
- Validate=true
62+
- PruneLast=false
63+
- RespectIgnoreDifferences=true
64+
- Replace=false
65+
- ApplyOutOfSyncOnly=true
66+
- CreateNamespace=true
67+
- ServerSideApply=true

0 commit comments

Comments
 (0)