Coder.comC
Coder.com7mo ago
11 replies
yuji.fushiguro

Is there a right way to building your own image for workspaces

I have a unique scenario where git auth does not work with our on-prem TFS, so envbuilder was not working for me at all. As a work-around, or at least an idea, I thought to build my own image to be used for the workspace with all of the scripts and packages to run. When I deploy my Coder control plane to EKS and try to create my workspace from my image I get the following error

Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 29s default-scheduler Successfully assigned coder/coder-0d7dee71-484c-4da6-9db5-8be2315373ef-5554b6bb85-fh89c to ip-10-179-166-175.us-east-2.compute.internal
Normal Pulled 28s kubelet Successfully pulled image "artifactory.example.com/container-dsl-nonprod/testuser1/vscode-ide:v0.0.3" in 325ms (325ms including waiting). Image size: 1305481070 bytes.
Normal Pulled 27s kubelet Successfully pulled image "artifactory.example.com/container-dsl-nonprod/testuser1/vscode-ide:v0.0.3" in 337ms (337ms including waiting). Image size: 1305481070 bytes.
Normal Pulling 12s (x3 over 28s) kubelet Pulling image "artifactory.example.com/container-dsl-nonprod/testuser1/vscode-ide:v0.0.3"
Normal Created 11s (x3 over 28s) kubelet Created container: dev
Normal Started 11s (x3 over 28s) kubelet Started container dev
Warning BackOff 11s (x2 over 27s) kubelet Back-off restarting failed container dev in pod coder-0d7dee71-484c-4da6-9db5-8be2315373ef-5554b6bb85-fh89c_coder(ef95784e-cd20-468a-be33-af50984665e0)
Normal Pulled 11s kubelet Successfully pulled image "artifactory.example.com/container-dsl-nonprod/testuser1/vscode-ide:v0.0.3" in 385ms (385ms including waiting). Image size: 1305481070 bytes.
Was this page helpful?