1
0
mirror of https://github.com/sredevopsorg/deepseek-kubernetes-sandbox.git synced 2026-11-03 01:13:24 +00:00
Files
deepseek-kubernetes-sandbox/deploy/k8s/sandbox-template.yaml
Nicolás Georger 0d66cbaca1 Update Dockerfile, README, and Kubernetes manifests for DSH Web deployment (#1)
- Enhanced Dockerfile with updated image labels and source.
- Revised README to reflect changes in DSH Web architecture and deployment instructions.
- Added Kubernetes sandbox template for DSH Web with security context and environment variables.
- Updated .env.sample and CODEOWNERS for consistency.
- Introduced multi-arch Docker build workflow for improved CI/CD.
2026-10-21 03:46:48 -03:00

30 lines
906 B
YAML

apiVersion: extensions.agents.x-k8s.io/v1alpha1
kind: SandboxTemplate
metadata:
name: dsh-web-template
namespace: default
spec:
podTemplate:
spec:
securityContext:
runAsNonRoot: true
runAsUser: 1000 # Matches the UID of the 'node' user
runAsGroup: 1000
containers:
- name: dsh-web
image: ghcr.io/sredevopsorg/deepseek-kubernetes-sandbox/deepseek-kubernetes-sandbox:0.2.1-rc.2
ports:
- containerPort: 3080
env:
- name: DEEPSEEK_API_KEY
valueFrom:
secretKeyRef:
name: deepseek-secret
key: api-key
volumeMounts:
- name: dsh-home
mountPath: /home/node/.dsh
volumes:
- name: dsh-home
persistentVolumeClaim:
claimName: dsh-home-pvc # You will need to create this PVC