C
Coder.com2mo ago
Kbs56

K8s + Coder Permissions Issues

Hey @Phorcys I'm running this example docker file on an EKS cluster https://github.com/coder/webinars/blob/main/2024/2024_06_genai_tooling/files/Dockerfile When spinning up the workspace on the cluster It is not able to create directories and such in the pod. Getting a lot of access denied. I basically copied this terraform file here as well. https://github.com/coder/webinars/blob/main/2024/2024_06_genai_tooling/files/main.tf wondering if there is anything obvious that I may need to tweak, etc. Just started toying with coder today as a POC. Any help would be appreciated.
GitHub
webinars/2024/2024_06_genai_tooling/files/Dockerfile at main · code...
Contribute to coder/webinars development by creating an account on GitHub.
GitHub
webinars/2024/2024_06_genai_tooling/files/main.tf at main · coder/w...
Contribute to coder/webinars development by creating an account on GitHub.
9 Replies
Codercord
Codercord2mo ago
<#1316845123677589587>
Category
Help needed
Product
Coder OSS (v2)
Platform
Linux
Logs
Please post any relevant logs/error messages.
Kbs56
Kbs56OP2mo ago
Unfortunately my company won’t let me log into discord, so I’m trying to get more logs. Any suggestions in the mean time would be great
Scott
Scott2mo ago
@Kbs56 - Is the user with the uid 1000 available and has the right privileges?
Atif
Atif2mo ago
Its unfortunate. You should be able to fix that by either upgrading to coder provider version 2; https://registry.terraform.io/providers/coder/coder/latest/docs/guides/version-2-upgrade Or set version = "1.0.4" in that example main.tf
Scott
Scott2mo ago
Oooff.... 🤯
Phorcys
Phorcys2mo ago
hey @Kbs56, any luck?
Kbs56
Kbs56OP2mo ago
Some, passed the permissions issues just running into cluster constraint stuff. Working through that though!
Phorcys
Phorcys2mo ago
please let us know if you need any more help!
Codercord
Codercord2mo ago
@Phorcys closed the thread.

Did you find this page helpful?