{
 "schema_version": 1,
 "generated": "2026-10-26",
 "id": "runzhliu-deepseek-harness-docker--deploy-dsh-on-kubernetes-with-helm",
 "repo": "runzhliu/deepseek-harness-docker",
 "repo_url": "https://github.com/runzhliu/deepseek-harness-docker",
 "repo_slug": "runzhliu-deepseek-harness-docker",
 "title": "Deploy DeepSeek Harness on Kubernetes with the Helm chart",
 "page_title": "How to deploy DeepSeek Harness on Kubernetes with the Helm chart with DeepSeek Harness Docker",
 "summary": "Run one DSH instance as a StatefulSet with persistent state and a workspace claim.",
 "who": "A platform engineer who needs DeepSeek Harness running in a Kubernetes cluster with its state kept across upgrades.",
 "problem": "A plain container restart or redeploy can lose profiles, sessions, and settings unless they live on persistent storage.",
 "outcome": "A single-replica StatefulSet with a dsh-home PVC, a Headless Service, and a NetworkPolicy, validated with helm lint.",
 "steps": [
  "Review the chart values, including the `workspace.existingClaim` setting 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)"
 ],
 "agent_prompt": "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.",
 "agents": [
  "any"
 ],
 "difficulty": "Advanced",
 "time": "1 hour",
 "basis": "readme",
 "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.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "shell",
 "requirements": [
  "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"
 ],
 "risk": "sensitive",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [
  {
   "tag": "credentials",
   "notice": "Provider secrets mounted into the pod give the agent access to paid model accounts, so limit who can read the namespace secrets."
  }
 ],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/runzhliu-deepseek-harness-docker/deploy-dsh-on-kubernetes-with-helm/",
 "md": "https://dedupedai.com/use-cases/runzhliu-deepseek-harness-docker/deploy-dsh-on-kubernetes-with-helm/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/runzhliu-deepseek-harness-docker--deploy-dsh-on-kubernetes-with-helm.json",
 "api_version": "v1"
}
