Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hub pod fails on k3s #3

Open
bpfrd opened this issue Dec 13, 2023 · 2 comments
Open

hub pod fails on k3s #3

bpfrd opened this issue Dec 13, 2023 · 2 comments

Comments

@bpfrd
Copy link

bpfrd commented Dec 13, 2023

Hello,

I deployed nbgrader-k8s on a single-node k3s cluster. it seems that the hub pod fails. here is more info:

centos@master-01$ kubectl get po
NAME                         READY   STATUS    RESTARTS   AGE
pod/hub-c475d685f-qf2s9      0/1     Pending   0          6m39s
pod/proxy-75c75c7495-hdqdc   1/1     Running   0          6m39s
centos@master-01$ kubectl describe pod/hub-c475d685f-qf2s9
Events: <none>

I was wondering how I can resolve this issue. I already changed storageclass to "local-path" which is k3s' default. Should I change any other config params?
Thanks
best

@bpfrd
Copy link
Author

bpfrd commented Dec 13, 2023

here info about volumes:

[centos@master-01 jnbk8s]$ kubectl get pvc
NAME                STATUS    VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
nbgrader-exchange   Pending                                                                        local-path     47s
hub-db-dir          Bound     pvc-a24b35bc-6ee5-49d5-82af-dce32f7ec5be   1Gi        RWO            local-path     47s
[centos@master-01 jnbk8s]$ kubectl get pv
NAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS   CLAIM                STORAGECLASS   REASON   AGE
pvc-a24b35bc-6ee5-49d5-82af-dce32f7ec5be   1Gi        RWO            Delete           Bound    default/hub-db-dir   local-path              48s

@bpfrd
Copy link
Author

bpfrd commented Dec 13, 2023

and this is after a long time:

Events:
  Type     Reason            Age                 From               Message
  ----     ------            ----                ----               -------
  Warning  FailedScheduling  27m                 default-scheduler  running PreBind plugin "VolumeBinding": binding volumes: timed out waiting for the condition
  Warning  FailedScheduling  7m2s (x2 over 17m)  default-scheduler  running PreBind plugin "VolumeBinding": binding volumes: timed out waiting for the condition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant