【发布时间】:2022-10-16 08:29:29
【问题描述】:
环境
- minikube 最新 (kubernetes 1.21.14)
- 自定义 3.2.0
- kubectl 1.21.14
- kubeflow/manifests v1.6-branch
- KFP 版本 1.8.13
我想创建 kubeflow 管道文件以在 GKE 上运行管道。
我根据创建管道
Getting started building a pipeline。
我无法通过以下方法获取 kubeflow 管道 yaml 文件。
kfp.compiler.Compiler().compile(
pipeline_func=my_pipeline,
package_path='pipeline.yaml',
pipeline_parameters={'url': 'https://storage.googleapis.com/ml-pipeline-playground/iris-csv-files.tar.gz'})
我得到了TypeError: compile() got an unexpected keyword argument 'pipeline_parameters'
从this implementation,我应该能够使用pipeline_parameters 参数来表示kfp.compiler.Compiler().compile。
参考
【问题讨论】:
标签: google-kubernetes-engine minikube kubeflow