Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #6 from QGreenland-Net/mattf
Browse files Browse the repository at this point in the history
Add troubleshooting entry and simplify container command
  • Loading branch information
mfisher87 authored Apr 18, 2024
2 parents 4222072 + 5a74cc6 commit 25407f1
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 3 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
9 changes: 6 additions & 3 deletions k8s/job.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 25407f1

Please sign in to comment.