[sdk] How to apply PVCs to pipeline tasks when using KFP SDK v2 #8596
Labels
area/sdk
kind/bug
lifecycle/stale
The issue / pull request is stale, any activities remove this label.
Environment
KFP version:
I could not find out my KFP version.
Not sure this is a valuable information, but I am using Kubeflow v1.6(manually installed).
KFP SDK version:
2.0.0b8
All dependencies version:
kfp 2.0.0b8
kfp-pipeline-spec 0.1.16
kfp-server-api 2.0.0a6
Steps to reproduce
Here is my source code.
It could be compiled successfully when I was using KFP 1.8.17.
$ python3 ai-training-run.py /opt/deepops/env/lib/python3.8/site-packages/kfp/compiler/compiler.py:79: UserWarning: V2_COMPATIBLE execution mode is at Beta quality. Some pipeline features may not work as expected. warnings.warn('V2_COMPATIBLE execution mode is at Beta quality.'
But in KFP 2.0.0b8, It doesn't work.
I know 'PipelineTask' class does not have 'apply' method anymore, but am curious that are there other ways to mount PVCs to pipeline tasks?
Expected result
finding out how to mount PVCs to pipeline tasks.
Materials and Reference
Impacted by this bug? Give it a 👍.
The text was updated successfully, but these errors were encountered: