Cannot use Sudo / have root access using Jupyterhub with Kubernetes

Hi. I’ve tried adding the following lines to my config.yaml file:

    GRANT_SUDO: "yes"
  uid: 0

Running on an Oracle Cluster on the Oracle Cloud Services

From what I’ve heard this should give me passwordless SUDO access on my terminal?

It depends on the rest of your configuration, and also how your Kubernetes cluster is configured. For example, if you’ve built your own Docker image you may not have the scripts from

In addition your cluster may block containers from running as root.

Can you:

  • Show us your full config with secrets redacted
  • Turn on debug logging and show us the singleuser server logs
  • Show us any error messages or warnings