Zero-to-jupyterhub-k8s: How to set hub to ephemeral storage?

Created on 10 Jul 2019  路  3Comments  路  Source: jupyterhub/zero-to-jupyterhub-k8s

Hello, i dont want to use persistent storage with my pangeo deployment. I am not sure but it looks like its only required for the hub db? i can see topics about this but dont know which values to change? Potentially hub.db.type and/or sqlite-pvc and/or hub.db.pvc? What should those values be?

Looks like I need to pass values via config.yaml, as per this link So I just need to launch an ephemeral hub each time?

Thanks

Most helpful comment

Setting hub.db.type: sqlite-memory removes the need for a hub persistent storage.

To disable persistent storage for the spawned singleuser servers set singleuser.storage.type: none

All 3 comments

Setting hub.db.type: sqlite-memory removes the need for a hub persistent storage.

To disable persistent storage for the spawned singleuser servers set singleuser.storage.type: none

I think @manics is spot on!

Thanks @manics , that is indeed spot on. The singleuser link to doc makes it easy to implement, for the hub.db.type i have included my snippet as used in my vaules.yaml

hub:
  db:
    type: sqlite-memory
Was this page helpful?
0 / 5 - 0 ratings

Related issues

gsemet picture gsemet  路  3Comments

consideRatio picture consideRatio  路  3Comments

consideRatio picture consideRatio  路  3Comments

aurashn picture aurashn  路  4Comments

consideRatio picture consideRatio  路  3Comments