Setting up the home directory in Kubernetes
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Documentation
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- docker, kubernetes
- Domain
- documentation, infrastructure
Research direction
No files, tests, or entry points are named. First locate the repository's Kubernetes volume and home-directory configuration, then verify whether an init container with an emptyDir is the adopted approach; done means documenting the confirmed setup and its handling of pre-existing /home/jovyan files.
Written by the indexing model from the issue text.
Description
Just as a followup to my question about how kubernetes mounts volume, indeed it doesn't seem possible to use overlay mount to preserve pre-existing files in the /home/jovyan directory in the image. I found this StackOverflow answer interesting. https://stackoverflow.com/a/63128564/3682277
A common solution for your use-case is, to use an init container to set up the emptyDir, before the main container is started. So basically you specify the emptyDir as a volume mount in both the init container and the main container and have the init container copy the files into the emptyDir.
Might be interesting to explore, in case you haven't already CC @unkcpz @superstar54
In any case, whatever solution you arrive at at the end, we should document it somewhere in this repo.
- Dominant language
- Python
- Stars
- 10
- Forks
- 15
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 12
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from aiidalab/aiidalab-docker-stack
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
aiidalab/aiidalab-docker-stack#612 · 3 comments ·
Maintainers usually reply within 1 day
-
Add .devcontainerOpen
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
aiidalab/aiidalab-docker-stack#594 · 1 comment · 1 reaction ·
Maintainers usually reply within 1 day
-
Disconnected python kernels bypass idle culling and can exhaust memoryPossibly taken @edan-bainglass claimed this 57 days ago. Opendiscussion
Difficulty 5/5 Over a week Newbie friendliness 35/100
aiidalab/aiidalab-docker-stack#592 · 5 comments · 2 assignees ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 55/100
aiidalab/aiidalab-docker-stack#583 ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
aiidalab/aiidalab-docker-stack#477 ·
Maintainers usually reply within 1 day
All issues in aiidalab/aiidalab-docker-stack
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
jenkinsci/user-guide-ai-chatbot-plugin#132 ·
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
gh-sync ship audits cards before writing station done, so every ship reports false STATUS findingsOpenharness
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
mruangutai/harness#2455 ·
Maintainers usually reply within 1 day
-
stripthink leaves thinking text in place when the chat template opens the think tag in the promptPossibly taken @MaiAditya claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Maintainers usually reply within 1 day
-
xcorr sizes its bin array from the largest observed m/z, so one out-of-range peak kills the runPossibly taken @BioGeek claimed this today. Openbug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
instadeepai/winnow#312 ·