C
Coder.com•2y ago
hutger

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
No description
No description
32 Replies
kyle
kyle•2y ago
Seems like your configuration doesn't have anything mounting the PVC... I see you have a pod there. Is it using the PVC?
f0ssel
f0ssel•2y ago
Could you describe the storage class that is being used by the PV?
hutger
hutger•2y ago
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.
hutger
hutger•2y ago
No description
hutger
hutger•2y ago
it seems that pvc is waiting for a pod to bind it but no pod is being started.
EvokeMe
EvokeMe•2y ago
Same.
f0ssel
f0ssel•2y ago
What templates are you running into this with?
EvokeMe
EvokeMe•2y ago
kubernetes @f0ssel
Phorcys
Phorcys•2y ago
What template specifically ?
EvokeMe
EvokeMe•2y ago
I dont understand. Looks like already answered:
coder templates init
> Choose kubernetes
cd ./kubernetes && coder templates create
coder templates init
> Choose kubernetes
cd ./kubernetes && coder templates create
EvokeMe
EvokeMe•2y ago
No description
Phorcys
Phorcys•2y ago
oh, sorry, I thought there was multiple kubernetes templates
EvokeMe
EvokeMe•2y ago
Nope, just trying from scratch in k3s cluster in hetzner single master.
EvokeMe
EvokeMe•2y ago
Postgres claim bound succesfully.
No description
EvokeMe
EvokeMe•2y ago
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)
Want results from more Discord servers?
Add your server