Comments (4)
@DavidChenLondon can you provide a basic example of something which fails?
from charts.
Hi @thesuperzapper According to https://github.com/airflow-helm/charts/tree/main/charts/airflow#option-1---git-sidecar-recommended , our ML repo will be cloned as "root" user, but the worker will be running as "airflow" user, thus, this would cause file permission issue if we try to write some files under our ML repo source code directory, so we have to write to other writable directory instead (e.g. /tmp). A possible solution is securityContext.runAsUser
, I'm still new to kubernetes, it would be helpful if other experienced people solve this issue. Thanks
from charts.
@DavidChenLondon this is intended behaviour, you shouldn't be writing to the dag folder
There are a few reasons for this:
- if we let you write, you would make the folder out of sync with the other workers/scheduler pods
- the sync script will remove your files at the next sync anyway, see the script here
from charts.
@thesuperzapper thanks, the logic behind makes sense. We moved all our temporary ML/ETL data into /tmp.
from charts.
Related Issues (20)
- Logs persistence disabled not working
- rbac authorization in vanilla kubernetes
- Remote logging doesn't work HOT 2
- how to upgrade the airflow cluster while keep my airflow jobs running with no downtime HOT 2
- DB migrations are timing out after 1 second HOT 2
- SystemsManagerParameterStoreBackend unable to retrieve values HOT 1
- Scheduder crashed with error - "PermissionError: [Errno 13] Permission denied " even with extraInitContainers and PVC. HOT 1
- MLflow Import in Airflow DAGs Causes S3 Logging Failure HOT 1
- Helm Chart: Community vs Offical HOT 1
- sync `airflow.users` does not work in airflow 2.9.0+ HOT 7
- missing `watch` permission for `events` RBAC HOT 1
- Docs point to old github RSA SSH host key
- Back-off restarting failed container check-db HOT 3
- Postgresql is not coming up. In pending state. HOT 1
- pods stuck in wait-for-airflow-migrations HOT 2
- airflow-sync-user 'sqlalchemy.exc.InvalidRequestError: Multiple classes found for path "Permission"' HOT 2
- check-db [dumb-init] /entrypoint: No such file or directory
- Show connections and variables in the UI when using secrets backend HOT 2
- Add declarative custom roles HOT 1
- migration job restarting
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from charts.