AI/openviking: add k8s manifest (Kustomize) and remove redundant Dockerfile

This commit is contained in:
updsv7
2026-06-05 12:59:02 +09:00
parent 1ef1ceb384
commit 3333dba7e6
8 changed files with 140 additions and 11 deletions

View File

@@ -0,0 +1,52 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: openviking
namespace: openviking
labels:
app: openviking
spec:
replicas: 1
selector:
matchLabels:
app: openviking
template:
metadata:
labels:
app: openviking
spec:
containers:
- name: openviking
image: ghcr.io/volcengine/openviking:latest
ports:
- containerPort: 8000
protocol: TCP
envFrom:
- configMapRef:
name: openviking-config
resources:
requests:
cpu: 100m
memory: 256Mi
limits:
cpu: 500m
memory: 1Gi
livenessProbe:
httpGet:
path: /ready
port: 1933
initialDelaySeconds: 10
periodSeconds: 30
readinessProbe:
httpGet:
path: /ready
port: 1933
initialDelaySeconds: 5
periodSeconds: 10
volumeMounts:
- name: data
mountPath: /app/data
volumes:
- name: data
persistentVolumeClaim:
claimName: openviking-data