Skip to content
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

feat(backend): mount EmptyDir volumes for launcher write locations #10857

Merged
merged 1 commit into from
Jun 6, 2024

Commits on May 31, 2024

  1. feat(backend): mount EmptyDir volumes for launcher write locations

    Launcher writes input artifacts to root paths /gcs, /minio, and /s3.
    These paths are not accessible by non-root users by default, which is
    problematic in locked-down Kubernetes installations and/or OpenShift.
    /gcs is currently a contract for KFP v2 python component wrappers, so
    the path cannot be changed.
    
    Mount an EmptyDir scratch volume to these paths to work around this.
    
    Additionally, /.local and /.cache are written to by pip, so add
    EmptyDir mounts for those too.
    
    Fixes: kubeflow#5673
    Fixes: kubeflow#7345
    Signed-off-by: Humair Khan <HumairAK@users.noreply.github.com>
    gregsheremeta authored and HumairAK committed May 31, 2024
    Configuration menu
    Copy the full SHA
    2c23995 View commit details
    Browse the repository at this point in the history