Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
9a4cbc8
feat(registry/coder-labs/templates/kubernetes-agent-sandbox): add age…
bpmct Nov 2, 2026
9702083
fix(registry/coder-labs/templates/kubernetes-agent-sandbox): drop the…
bpmct Nov 2, 2026
86f9f29
fix(registry/coder-labs/templates/kubernetes-agent-sandbox): re-check…
bpmct Nov 2, 2026
44e259e
feat(registry/coder-labs/templates/kubernetes-agent-sandbox): use the…
bpmct Nov 2, 2026
4bf1bb6
fix(registry/coder-labs/templates/kubernetes-agent-sandbox): set the …
bpmct Nov 2, 2026
6b31cf4
fix(registry/coder-labs/templates/kubernetes-agent-sandbox): run the …
bpmct Nov 2, 2026
dab09f3
feat(registry/coder-labs/templates/kubernetes-agent-sandbox): clone a…
bpmct Nov 2, 2026
53d9fe6
feat(registry/coder-labs/templates/kubernetes-agent-sandbox): add a G…
bpmct Nov 2, 2026
b8e2efa
feat(registry/coder-labs/templates/kubernetes-agent-sandbox): add an …
bpmct Nov 2, 2026
d746ad0
docs(registry/coder-labs/templates/kubernetes-agent-sandbox): explain…
bpmct Nov 2, 2026
8df43b7
docs(registry/coder-labs/templates/kubernetes-agent-sandbox): move cl…
bpmct Nov 2, 2026
e20e001
feat(registry/coder-labs/templates/kubernetes-agent-sandbox): replace…
bpmct Nov 2, 2026
fdbe419
docs(registry/coder-labs/templates/kubernetes-agent-sandbox): tighten…
bpmct Nov 2, 2026
0ee6e20
docs(registry/coder-labs): add the kubernetes-agent-sandbox demo
bpmct Nov 2, 2026
641b6b4
docs(registry/coder-labs/templates/kubernetes-agent-sandbox): compare…
bpmct Nov 2, 2026
8ac9dea
docs(registry/coder-labs/templates/kubernetes-agent-sandbox): explain…
bpmct Nov 2, 2026
ce97753
docs(registry/coder-labs/templates/kubernetes-agent-sandbox): require…
bpmct Nov 2, 2026
c1810d4
docs(registry/coder-labs/templates/kubernetes-agent-sandbox): explain…
bpmct Nov 2, 2026
42e7794
docs(registry/coder-labs/templates/kubernetes-agent-sandbox): link th…
bpmct Nov 2, 2026
dd1ae9d
docs(registry/coder-labs/templates/kubernetes-agent-sandbox): lead St…
bpmct Nov 2, 2026
0720554
docs(registry/coder-labs/templates/kubernetes-agent-sandbox): merge t…
bpmct Nov 2, 2026
ea49ffc
docs(registry/coder-labs/templates/kubernetes-agent-sandbox): ground …
bpmct Nov 2, 2026
21ee7bb
docs(registry/coder-labs/templates/kubernetes-agent-sandbox): drop th…
bpmct Nov 2, 2026
d81b348
docs(registry/coder-labs/templates/kubernetes-agent-sandbox): shorten…
bpmct Nov 2, 2026
8be5633
docs(registry/coder-labs/templates/kubernetes-agent-sandbox): link to…
bpmct Nov 3, 2026
269cb92
docs(registry/coder-labs/templates/kubernetes-agent-sandbox): drop th…
bpmct Nov 3, 2026
f2fdf03
fix(registry/coder-labs): address review conventions in kubernetes-ag…
bpmct Nov 3, 2026
bebfb7b
docs(registry/coder-labs/templates/kubernetes-agent-sandbox): move sp…
bpmct Nov 3, 2026
9b8486f
feat(registry/coder-labs/templates/kubernetes-agent-sandbox): take th…
bpmct Nov 3, 2026
985c973
feat(registry/coder-labs/templates/kubernetes-agent-sandbox): give th…
bpmct Nov 3, 2026
49f1f94
Merge branch 'main' into coder-labs-kubernetes-agent-sandbox
bpmct Nov 3, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .icons/agent-sandbox.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
182 changes: 182 additions & 0 deletions registry/coder-labs/templates/kubernetes-agent-sandbox/README.md

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
FROM codercom/enterprise-base:ubuntu

ARG TARGETARCH=amd64
ARG CODER_VERSION=
ARG CODER_BINARY_URL=
ARG INSTALL_CODE_SERVER=true
ARG CODE_SERVER_VERSION=4.105.1
ARG INSTALL_CLAUDE_CODE=true

USER root

# The Coder agent.
RUN set -eu; \
if [ -n "${CODER_BINARY_URL}" ]; then \
curl -fsSL --retry 5 -o /usr/local/bin/coder "${CODER_BINARY_URL}"; \
elif [ -n "${CODER_VERSION}" ]; then \
v="${CODER_VERSION#v}"; \
curl -fsSL --retry 5 "https://github.com/coder/coder/releases/download/v${v}/coder_${v}_linux_${TARGETARCH}.tar.gz" \
| tar -xz -C /usr/local/bin ./coder; \
else \
echo "Set CODER_VERSION or CODER_BINARY_URL" >&2; exit 1; \
fi; \
chmod 755 /usr/local/bin/coder; \
/usr/local/bin/coder version

# code-server, outside /home so a home volume does not hide it. The
# code-server module uses it with offline = true.
RUN set -eu; \
if [ "${INSTALL_CODE_SERVER}" = true ]; then \
curl -fsSL https://code-server.dev/install.sh \
| sh -s -- --method=standalone --prefix=/opt/code-server --version "${CODE_SERVER_VERSION}"; \
fi

# Claude Code, outside /home for the same reason. The claude-code module
# uses it with install_claude_code = false and claude_binary_path =
# "/opt/claude/bin".
RUN set -eu; \
if [ "${INSTALL_CLAUDE_CODE}" = true ]; then \
export HOME=/opt/claude; \
mkdir -p /opt/claude/bin; \
curl -fsSL https://claude.ai/install.sh | bash; \
ln -sf "$(readlink -f /opt/claude/.local/bin/claude)" /opt/claude/bin/claude; \
chmod -R a+rX /opt/claude; \
/opt/claude/bin/claude --version; \
fi

USER coder
WORKDIR /home/coder

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# Copy this file to install.auto.tfvars and set your values. Terraform
# loads *.auto.tfvars on its own, and `coder templates push` leaves it out.

# The namespace for workspaces. Terraform creates it.
namespace = "coder-workspaces"

# The image you built from build/Dockerfile, with a fixed tag or a digest.
workspace_image = "registry.example.com/coder/workspace:v2.30.0"

# The Coder access URL. Optional: each workspace passes its own access URL
# to the pool. Set it if Coder is not on port 443, or with coder_host_ip.
# coder_access_url = "https://coder.example.com"

# The IP ranges of the Coder server, as workspaces see it. Fully isolated
# workspaces can reach only these. Use the IP of the load balancer or
# ingress behind coder_access_url, for example the output of
# `dig +short coder.example.com`, with /32 for one address.
coder_egress_cidrs = ["203.0.113.10/32"]

# Fully isolated blocks DNS. If coder_access_url uses a host name, set the
# Coder server IP so the pools can resolve it.
# coder_host_ip = "203.0.113.10"

# Offer only the runtimes that your nodes have. See "Install the runtimes".
# runtimes = ["gvisor", "kata-qemu", "kata-clh"]

# A public repository that GitHub only pools clone while they wait.
# git_repo_url = "https://github.com/coder/coder"

# Amazon EKS with VPC CNI v1.21.1 or later only.
# enable_guardrail = true
Loading
Loading