Skip to content

Commit

Permalink
Do not attempt to delete non-existing pvc
Browse files Browse the repository at this point in the history
When a user is being deleted (e.g. by the culler), a PVC with name
"claim-username" is also attempted to be deleted by default as part
of the delete_forever function. This implies an extra call to the
API server to delete a PVC that we know does not exist. With the
KubeSpawner's delete_pvc flag set to false, we prevent that extra
call.
  • Loading branch information
etejedor committed Oct 19, 2023
1 parent 9755e9e commit 26eac6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions swan/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,8 @@ jupyterhub:
http_timeout: 45
start_timeout: 60
consecutive_failure_limit: 0
KubeSpawner:
delete_pvc: False
SwanKubeSpawner:
# set home directory to EOS
local_home: False
Expand Down

0 comments on commit 26eac6d

Please sign in to comment.