diff --git a/README.md b/README.md index 4960501..a6833e9 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,17 @@ excellent tutorial. ## Troubleshooting +### `parsl-init-script` ConfigMap fails to mount + +```bash +MountVolume.SetUp failed for volume "parsl-init-script-volume" : object "qgnet"/"parsl-init-script" not registered +``` + +Does not always occur. + +[See related GitHub issue](https://github.com/kubernetes/kubernetes/issues/105204). + + ### Cleaning up failed parsl pods Some failure states result in pods getting stuck in a restart loop that do not @@ -137,6 +148,7 @@ To remove a pod that is stuck: kubectl delete pod {pod-name} ``` + ### File not found error starting Rancher Desktop You must have a valid `$KUBECONFIG` path. Paths including `~` or paths to files which do diff --git a/k8s/job.yml b/k8s/job.yml index 1f50a65..062f6ea 100644 --- a/k8s/job.yml +++ b/k8s/job.yml @@ -32,9 +32,12 @@ spec: - name: "data" mountPath: "/data" command: - - "bash" - - "-c" - - "micromamba run -n base python /parsl-init-script/run.py" + - "micromamba" + - "run" + - "-n" + - "base" + - "python" + - "/parsl-init-script/run.py" restartPolicy: "Never" --- apiVersion: "v1"