Credentials. Provider secrets mounted into the pod give the agent access to paid model accounts, so limit who can read the namespace secrets.
Who it is forA platform engineer who needs DeepSeek Harness running in a Kubernetes cluster with its state kept across upgrades.
The problemA plain container restart or redeploy can lose profiles, sessions, and settings unless they live on persistent storage.
The outcomeA single-replica StatefulSet with a dsh-home PVC, a Headless Service, and a NetworkPolicy, validated with helm lint.
What you need first
- Docker with Compose, or Rootless Podman 4.5 with podman-compose 1.6.0 or newer
- A local project directory to mount as the workspace, or leave the default named volume
- Model provider credentials to enter in the Settings page or supply as environment variables
- A Kubernetes cluster and Helm for the chart deployment
Steps
- Review the chart values, including the
workspace.existingClaimsetting if you want to mount an existing workspace PVC. (inferred, check the README) - Run
helm lint --strict <chart-path>to confirm the chart passes strict checks. (inferred, check the README) - Run
helm install <release-name> <chart-path> -n <namespace>to deploy the chart. (inferred, check the README) - Run
kubectl get statefulset,pvc,svc,networkpolicy -n <namespace>to confirm the resources were created. (inferred, check the README) - Use port-forward to reach the Web UI and confirm it responds before you configure models. (inferred, check the README)
Prompt for your agent
Using the Helm chart in runzhliu/deepseek-harness-docker, lint and install it into the namespace <namespace> as release <release-name>. Expected output: a StatefulSet with one replica, a dsh-home PVC, and a Headless Service. Verify that the pod reaches Ready and that the chart still shows exactly one replica.
Caveat. The chart is a single replica by design, and the README says adding replicas does not give high availability for this single-user runtime.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for runzhliu/deepseek-harness-docker and "Deploy DeepSeek Harness on Kubernetes with the Helm chart"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer