WBR_K
WBR_K
CCoder.com
Created by WBR_K on 1/17/2025 in #help
Define custom subdomain for app to use with vars.
Thanks for your message! I think I may leave a feature request in the Github repo. 👍
13 replies
CCoder.com
Created by WBR_K on 1/17/2025 in #help
Define custom subdomain for app to use with vars.
I added subdomain_url = lower(data.coder_workspace.me.name).
13 replies
CCoder.com
Created by WBR_K on 1/17/2025 in #help
Define custom subdomain for app to use with vars.
See example.
13 replies
CCoder.com
Created by WBR_K on 1/17/2025 in #help
Define custom subdomain for app to use with vars.
What I'm trying to do is that the workspace has a predefined subdomain for the workspace port 80.
13 replies
CCoder.com
Created by WBR_K on 1/17/2025 in #help
Define custom subdomain for app to use with vars.
resource "coder_app" "open-web" {
agent_id = coder_agent.main.id
slug = "open-web"
display_name = "Website"
icon = "/icon/globe_with_meridians.svg"
url = "http://localhost:80"
subdomain = true
subdomain_url = lower(data.coder_workspace.me.name)

healthcheck {
url = "http://localhost:80/healthz"
interval = 10
threshold = 30
}
}
resource "coder_app" "open-web" {
agent_id = coder_agent.main.id
slug = "open-web"
display_name = "Website"
icon = "/icon/globe_with_meridians.svg"
url = "http://localhost:80"
subdomain = true
subdomain_url = lower(data.coder_workspace.me.name)

healthcheck {
url = "http://localhost:80/healthz"
interval = 10
threshold = 30
}
}
13 replies
CCoder.com
Created by WBR_K on 1/17/2025 in #help
Envbox in kubernetes, cgroup permission issue.
I also tried coder/envbox versions: 0.6.1 & 0.5.3.
6 replies
CCoder.com
Created by WBR_K on 1/17/2025 in #help
Envbox in kubernetes, cgroup permission issue.
Failed to run envbox: get image metadata: start container: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: container_linux.go:427: starting container process caused: process_linux.go:608: container init caused: process_linux.go:529: applying cgroup configuration for process caused: failed to write 309 to cgroup.procs: write /sys/fs/cgroup/docker/e92281f668b4c6620e0863bcdab79060359506d7f4669a4f0d709ee9c730db08/init.scope/cgroup.procs: operation not supported: unknown

Failed to run envbox: run: get image metadata: start container: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: container_linux.go:427: starting container process caused: process_linux.go:608: container init caused: process_linux.go:529: applying cgroup configuration for process caused: failed to write 309 to cgroup.procs: write /sys/fs/cgroup/docker/e92281f668b4c6620e0863bcdab79060359506d7f4669a4f0d709ee9c730db08/init.scope/cgroup.procs: operation not supported: unknown
Failed to run envbox: get image metadata: start container: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: container_linux.go:427: starting container process caused: process_linux.go:608: container init caused: process_linux.go:529: applying cgroup configuration for process caused: failed to write 309 to cgroup.procs: write /sys/fs/cgroup/docker/e92281f668b4c6620e0863bcdab79060359506d7f4669a4f0d709ee9c730db08/init.scope/cgroup.procs: operation not supported: unknown

Failed to run envbox: run: get image metadata: start container: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: container_linux.go:427: starting container process caused: process_linux.go:608: container init caused: process_linux.go:529: applying cgroup configuration for process caused: failed to write 309 to cgroup.procs: write /sys/fs/cgroup/docker/e92281f668b4c6620e0863bcdab79060359506d7f4669a4f0d709ee9c730db08/init.scope/cgroup.procs: operation not supported: unknown
6 replies
CCoder.com
Created by WBR_K on 1/17/2025 in #help
Envbox in kubernetes, cgroup permission issue.
6 replies
CCoder.com
Created by WBR_K on 1/17/2025 in #help
Envbox in kubernetes, cgroup permission issue.
At the bottom are the error messages.
6 replies