mirror of
https://github.com/sredevopsorg/deepseek-kubernetes-sandbox.git
synced 2026-11-03 01:13:24 +00:00
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.
This commit is contained in:
30
deploy/k8s/sandbox-template.yaml
Normal file
30
deploy/k8s/sandbox-template.yaml
Normal file
@@ -0,0 +1,30 @@
|
||||
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
|
||||
Reference in New Issue
Block a user