-
Notifications
You must be signed in to change notification settings - Fork 60
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide writable directories by default #67
Conversation
4af82ed
to
72508b4
Compare
* Mount scratch space to /tmp and /home/prefect by default, and configure the container working directory and HOME directory accordingly * Add documentation for different installation options (default fully-unprivileged, running as root, and running in OpenShift)
72508b4
to
2fac42c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! thank you!
I tried to install the chart with the last version 2.4.5 but it seems that is still using the old path (/opt/prefect), giving a write permission error when the pod starts |
@Seldonm just to clarify - you installed the chart with the latest release or with the latest local version available from this repo? |
i installed the latest release from the Helm repository, chart version 2022.10.04 |
Got it - that doesn't contain this PR. I'll get a release out tomorrow that will have this change in it. |
Thank you very much. Meanwhile i'll test it by building locally the repo |
Closes: #54
Orion
I've installed orion using the following command, to disable PostgreSQL:
helm upgrade prefect-orion ./charts/prefect-orion --install --set=postgresql.enabled=false
I then verified that orion starts successfully using SQLite:
From filesystem mounts, both the home directory and tmp directory are available and writable:
Agent
I've installed the agent using the following command:
helm upgrade prefect-agent ./charts/prefect-agent --install --set=agent.cloudApiConfig.accountId=aa44c164-ecc4-4c76-9c85-4a2f1835f36b --set=agent.cloudApiConfig.workspaceId=b97ece4a-c5a2-4430-95ff-b6e6eb20d7ea
I verified that I can install packages: