privetartyomka
privetartyomka
CCoder.com
Created by privetartyomka on 3/26/2024 in #help
Docker-in-Docker with sysbox on Kubernetes
Hi! I'm trying to setup sysbox-runc using the instructions provided in https://coder.com/docs/v2/latest/templates/docker-in-workspaces#use-sysbox-in-kubernetes-based-templates (and previously installing the sysbox on the k8s cluster in question). However, when I'm creating a new workspace I get the following error:
Error: pods "coder-artyom-artyom-test-sysbox-coder" is forbidden: pod rejected: RuntimeClass "sysbox-runc" not found
on main.tf line 205, in resource "kubernetes_pod" "main":
205: resource "kubernetes_pod" "main" {
Error: pods "coder-artyom-artyom-test-sysbox-coder" is forbidden: pod rejected: RuntimeClass "sysbox-runc" not found
on main.tf line 205, in resource "kubernetes_pod" "main":
205: resource "kubernetes_pod" "main" {
I can definitely see the sysbox-runc runtime existing on the cluster. Wondering what can be wrong?
10 replies