# Cannot use Sudo / have root access using Jupyterhub with Kubernetes

**URL:** <https://discourse.jupyter.org/t/cannot-use-sudo-have-root-access-using-jupyterhub-with-kubernetes/12548>\
**Category:** Zero to JupyterHub on Kubernetes\
**Tags:** jupyterhub, help-wanted\
**Created:** [January 12, 2022, 4:05am UTC](https://discourse.jupyter.org/t/cannot-use-sudo-have-root-access-using-jupyterhub-with-kubernetes/12548 "2022-01-12T04:05:56Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![gdubya](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.jupyter.org/gdubya/32/6163_2.png) [@gdubya](https://discourse.jupyter.org/u/gdubya)\
**Post date:** [February 7, 2022, 8:27am UTC](https://discourse.jupyter.org/t/cannot-use-sudo-have-root-access-using-jupyterhub-with-kubernetes/12548/4 "2022-02-07T08:27:03Z")

</div>

We were able to get it working using basically the same configuration:

```auto
singleuser:
  extraEnv:
    GRANT_SUDO: "yes"
    NOTEBOOK_ARGS: "--allow-root"
  uid: 0
  cmd: start-singleuser.sh

```

But we’re not using OKE

---

_[View the full topic](https://discourse.jupyter.org/t/cannot-use-sudo-have-root-access-using-jupyterhub-with-kubernetes/12548)._
