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

PodUnschedulable Cannot schedule pods: pod has unbound immediate PersistentVolumeClaims. #28

Closed
FasihZafar opened this issue Jul 13, 2022 · 4 comments

Comments

@FasihZafar
Copy link

FasihZafar commented Jul 13, 2022

Hi all, I'm running into the following error while launching a repo. Any ideas on how to resolve this. Thanks
Repo: https://github.com/binder-examples/r
My config.yaml:

binderhub:
  config:
    BinderHub:
      hub_url: http://<hubip>
      use_registry: true
      image_prefix: <dockerusername/binderhub->

  jupyterhub:
    hub:
      services:
        binder:
          # where binder runs
          url: "http://<binderip>"        
          apiToken: <token>
          oauth_redirect_uri: "http://<hubip>/services/binder/oauth_callback"
          oauth_client_id: "binder-oauth-client-test"

      config:
        JupyterHub:
          authenticator_class: dummy      

    proxy:
      secretToken: <token>

    singleuser:
      storage:
        dynamic:
          storageClass: <name for my storage class>

  registry:
    username: <dockerusername>
    password: <password>

@FasihZafar
Copy link
Author

This is the reason for the error that gke is showing. The Pod’s Persistent Volume Claims are not bound to a volume. This error might happen if your Persistent Volume is not provisioned. I'm trying to deploy on gke

@arnim
Copy link
Member

arnim commented Jul 13, 2022

Unfortunately, I've never done an install on GKE. @ctr26 mentioned as one of the cons that it can be at times a bit fiddly to install.

Not sure if it helps in the short run... but @damianavila and I will probably meet next week to discuss ways to make dynamic image building more easily accessible

@arnim
Copy link
Member

arnim commented Jul 13, 2022

@FasihZafar have you tried JHub on GKE? If I remember correctly this might be similar to a z2jh config.yaml and there seem to be discussions around a related issue.

@FasihZafar
Copy link
Author

Thanks @arnim I was able to resolve this by recreating a storage class

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

2 participants