Here be magic incantations of yore
unset AWS_WEB_IDENTITY_TOKEN_FILE
unset AWS_ROLE_ARN
Error making request Unexpected end of JSON input Check the JupyterLab log for more details
kubectl logs pod/${HOSTNAME} -f
Here be spells to modify your workbench
[kubectl patch notebook $(echo $NB_PREFIX | cut -d'/' -f4) --type=json --patch '[{"op": "replace", "path": "/spec/template/spec/containers/0/resources/limits/memory", "value": "8Gi"}]'](<https://kflowai.notion.site/60f8ea40341c447db452adcddabbd58a>)
kubectl patch notebook $(echo $NB_PREFIX | cut -d'/' -f4) --type=json --patch '[{"op": "add", "path": "/spec/template/spec/securityContext", "value": {"runAsNonRoot": false, "runAsUser": 0}}]'
kubectl patch notebook $(echo $NB_PREFIX | cut -d'/' -f4) --type=json --patch '[{"op": "remove", "path": "/spec/template/spec/securityContext"}]'
From within a Kubeflow Notebook or pipeline component, the current namespace is available in the file: /var/run/secrets/kubernetes.io/serviceaccount/namespace