PVC Creating forever...
I'm trying to deploy Coder.OSS on K8S... during the workspace provisioning, TF reports volume.claim creating until time exceeded.
On K8S, the PVC shows as pending.
Any clue?
![No description](https://cdn.answeroverflow.com/1025007217625268254/unknown.png)
![No description](https://cdn.answeroverflow.com/1025007217973403678/unknown.png)
![No description](https://cdn.answeroverflow.com/1025007218338320384/unknown.png)
32 Replies
Seems like your configuration doesn't have anything mounting the PVC...
I see you have a pod there. Is it using the PVC?
Could you describe the storage class that is being used by the PV?
Storage class is the K3S Local-path...
Indeed, I have two pods within the same namespace (coder), but they are coderd and coder-db... no workspace related pod though.
![No description](https://cdn.answeroverflow.com/1025091305333854330/unknown.png)
it seems that pvc is waiting for a pod to bind it but no pod is being started.
Same.
What templates are you running into this with?
kubernetes @f0ssel
What template specifically ?
I dont understand. Looks like already answered:
![No description](https://cdn.answeroverflow.com/1028224649215094784/Screenshot_2022-10-08_at_11.37.20.png)
oh, sorry, I thought there was multiple kubernetes templates
Nope, just trying from scratch in k3s cluster in hetzner single master.
Postgres claim bound succesfully.
![No description](https://cdn.answeroverflow.com/1028225854251221022/Screenshot_2022-10-08_at_11.41.53.png)
But workspace always fail.
First problem was that default workspace in tf was not connected correctly. For some reason coder-workspaces does not work, fixed it in tf template (role succefully created, extended to * resources, and binded)