Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

coder-k8s

CI Go License

Use native Kubernetes APIs to run and manage Coder.

[!WARNING] This is experimental alpha software from a hackathon. Do not use it in production. Do not make it available to end users.

What you get

coder-k8s is one binary with three components:

ComponentManagesAPI group
OperatorCoderControlPlane, CoderProvisioner, CoderTemplateTest, CoderWorkspaceProxy, CoderWorkspacePool, CoderWorkspaceClaim (custom resources)coder.com/v1alpha1
Aggregated API serverCoderWorkspace, CoderTemplate, CoderTemplateVersion (served from a live Coder instance)aggregation.coder.com/v1alpha1
MCP serverTools that inspect and operate these resources over HTTP—

The operator is a Kubernetes controller. It creates and updates the Coder control planes, provisioners, and workspace proxies that these custom resources describe. The aggregated API server adds Coder workspaces, templates, and template versions to the Kubernetes API, so you can use kubectl with them. Template versions are read-only. The MCP (Model Context Protocol) server gives tools to AI agents and other MCP clients.

The --app flag selects the components that run. The default, --app=all, runs the operator and the aggregated API server in one process. The MCP server runs only with --app=mcp-http. For all values, see Architecture.

Quick start

Run these commands from a clone of this repository:

kubectl create namespace coder-system
kubectl apply -f config/crd/bases/ -f config/rbac/
kubectl apply -f deploy/
kubectl rollout status deployment/coder-k8s -n coder-system

Then create a Coder instance:

kubectl create namespace coder
kubectl apply -f config/samples/coder_v1alpha1_codercontrolplane.yaml

For all the steps, see Deploy a Coder Control Plane.

Documentation

The documentation is at https://coder.github.io/coder-k8s/. The source is in docs/. To show a local preview, run make docs-serve.

Examples

ExampleShows
examples/cloudnativepg/A CoderControlPlane that uses a CloudNativePG PostgreSQL database
examples/argocd/The full stack from one Argo CD ApplicationSet
examples/coder-templates/CoderTemplate manifests that you can use again

Contributing

See CONTRIBUTING.md. The license is Apache-2.0.

关于 About

No description, website, or topics provided.

语言 Languages

Go90.9%
Shell7.8%
TLA0.6%
HCL0.3%
Go Template0.1%
Lua0.1%
Makefile0.1%
JavaScript0.1%
Nix0.0%
Dockerfile0.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
326
Total Commits
峰值: 116次/周
Less
More

核心贡献者 Contributors