Culling the users deleting the PVC for that user

Hi,

Culling the users deletes the pvc for that user. Only this is happening for the allowed_users, not the admin_users. I don’t want that PVC deleted for the user when a user is culled.

I have defined the users as below.

admin_users:
- admin1
- admin2

allowed_users:
- userid1
- userid2

cull:
  enabled: true
  users: true # --cull-users
  adminUsers: false # --cull-admin-users
  removeNamedServers: false # --remove-named-servers
  timeout: 3600 # --timeout
  every: 600 # --cull-every
  concurrency: 10 # --concurrency
  maxAge: 0 # --max-age

Is there more configuration going on, especially regarding singleuser storage? We’ve also enabled culling, but by default, it only kills the singleuser pod and doesn’t delete the PVC.

You can set KubeSpawner.delete_pvc = Falseto keep PVCs when a user is deleted:

1 Like