Initial commit: add .gitignore and README
Some checks failed
Tests / test (3.10) (push) Has been cancelled
Tests / test (3.11) (push) Has been cancelled
Tests / test (3.12) (push) Has been cancelled
Tests / lint (push) Has been cancelled
Tests / docker (push) Has been cancelled

This commit is contained in:
defiQUG
2026-02-09 21:51:42 -08:00
commit c052b07662
3146 changed files with 808305 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: fusionagi-config
data:
LOG_LEVEL: "INFO"

View File

@@ -0,0 +1,38 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: fusionagi
labels:
app: fusionagi
spec:
replicas: 1
selector:
matchLabels:
app: fusionagi
template:
metadata:
labels:
app: fusionagi
spec:
containers:
- name: fusionagi
image: fusionagi:latest
ports:
- containerPort: 8000
envFrom:
- configMapRef:
name: fusionagi-config
env:
- name: OPENAI_API_KEY
valueFrom:
secretKeyRef:
name: fusionagi-secrets
key: openai-api-key
optional: true
resources:
requests:
memory: "256Mi"
cpu: "100m"
limits:
memory: "512Mi"
cpu: "500m"

7
deploy/k8s/secret.yaml Normal file
View File

@@ -0,0 +1,7 @@
apiVersion: v1
kind: Secret
metadata:
name: fusionagi-secrets
type: Opaque
stringData:
openai-api-key: ""

14
deploy/k8s/service.yaml Normal file
View File

@@ -0,0 +1,14 @@
apiVersion: v1
kind: Service
metadata:
name: fusionagi
labels:
app: fusionagi
spec:
ports:
- port: 8000
targetPort: 8000
protocol: TCP
name: http
selector:
app: fusionagi