Tested PR #23501 on a bare kubeadm cluster (arm64, Pi 5, k8s 1.30).
- Single-node kubeadm cluster with Calico CNI
- Gateway API CRDs v1.2.1 (standard channel)
- Traefik v3 as the Gateway controller (via helm)
Spin up a minimal Kubernetes cluster inside a Coder workspace. Uses k3s with sudo (no systemd).
unsafe procfs because the workspace itself is a container.
Pods stay in ContainerCreating. Fine for Terraform state bugs,This guide documents best practices and workflows for developing and iterating on Coder templates.
Coder templates are written in Terraform and define the infrastructure required for workspaces. These templates create VMs, containers, and other resources that developers use as their development environments.
This guide documents the process of setting up a Windows workspace using Coder and building the Coder repository on it.
coder CLI installed and authenticatedThis guide documents the process of setting up a Windows workspace using Coder and building the Coder repository on it.
coder CLI installed and authenticatedCoder added jq to the base image to support mounting secrets from AWS Secrets Manager, or other Kubernetes secrets that are in JSON format. Example:
# Helm values.yaml
coder:
command:
- /bin/sh
- -c - CODER_PG_CONNECTION_URL=postgresql://coder:$(cat /mnt/postgres-pass/secret.json | jq -r .password)@coder-db.coder.svc.cluster.local:5432/coder /opt/coder server
volumes:
- name: "postgres-pass"| #!/bin/bash | |
| # This has been tested on the aws-linux Coder template, which runs Ubuntu Focal | |
| # Check if LXDE is installed | |
| if ! dpkg -s lxde &> /dev/null; then | |
| sudo apt-get update | |
| DEBIAN_FRONTEND=noninteractive sudo apt-get install -y lxde | |
| else | |
| echo "LXDE is already installed." |
Other apps we could try later:
Note: I tried with standalone React Rative, but Expo (a beginner-friendly framework) works too. I tried this in 2021 with Coder.