mirror of
https://github.com/coder/coder.git
synced 2025-07-08 11:39:50 +00:00
* docs: add kubestream docs and update example template * make fmt * add to template's README * add the seperate page * make fmt * make fmt * add namespace to deployment resource * fmt * add screenshots * link docs in template * Add remaining examples * enable deployments requirement * Update deployment-logs.md * rewording * fix spelling * how? * cleanup * Update docs/platforms/kubernetes/deployment-logs.md Co-authored-by: Ben Potter <ben@coder.com> * suggestions * use online link * refine --------- Co-authored-by: Eric <ericpaulsen@coder.com> Co-authored-by: Ben Potter <ben@coder.com>
27 lines
1.1 KiB
Markdown
27 lines
1.1 KiB
Markdown
# Guide: Coder on Kubernetes
|
|
|
|
Coder's control plane and/or workspaces can be deployed on Kubernetes.
|
|
|
|
## Installation
|
|
|
|
Refer to our [Helm install docs](../../install/kubernetes.md) to deploy Coder on Kubernetes. The default helm values will provision the following:
|
|
|
|
- Coder control plane (as a `Deployment`)
|
|
- ServiceAccount + Role + RoleBinding to provision pods + PVCS in the current namespace (used for Kubernetes workspaces)
|
|
- LoadBalancer to access control plane
|
|
|
|
## Kubernetes templates
|
|
|
|
From the dashboard, import the Kubernetes starter template:
|
|
|
|

|
|
|
|
In the next screen, set the following template variables:
|
|
|
|
- `use_kubeconfig`: `false` (The ServiceAccount will authorize Coder to create pods on your cluster)
|
|
- `namespace`: `coder` (or whatever namespace you deployed Coder on)
|
|
|
|

|
|
|
|
> If you deployed Coder on another platform besides Kubernetes, you can set `use_kubeconfig: true` for Coder to read the config from your VM, for example.
|