Skip to content

Latest commit

 

History

History
27 lines (20 loc) · 1.56 KB

problems.md

File metadata and controls

27 lines (20 loc) · 1.56 KB

问题汇总

  1. 没有 namespace, Experiments 报错。

这种是 profile 设置问题。

由于官方使用的是[email protected]创建命名空间kubeflow-user-example-com,这里在patch改成了[email protected] ,当命名空间已经创建后,就会报错,一般我们查看 profiles-deployment 日志,会看到:

2021-05-19T06:41:43.069Z        INFO    controllers.Profile     namespace already exist, but not owned by profile creator [email protected]     {"profile": "/kubeflow-user-example-com"}
2021-05-19T06:41:43.077Z        DEBUG   controller      Successfully Reconciled {"reconcilerGroup": "kubeflow.org", "reconcilerKind": "Profile", "controller": "profile", "name": "kubeflow-user-example-com", "namespace": ""}

这时候只需要删除profile命名空间kubeflow-user-example-com,重新生产profile即可。

kubectl delete -f patch/auth.yaml
kubectl delete ns kubeflow-user-example-com
kubectl apply -f patch/auth.yaml
  1. 运行 pipeline 报错,错误显示xxx is not implemented in the k8sapi executor

这个错误是由于 kind 集群创建的 k8s 集群容器运行时用的containerd,而workflow默认的pipeline执行器是docker,因此有些特性不兼容。如果你的 k8s 集群是自己基于docker runtime 搭建的,可以将patch/workflow-controller.yamlcontainerRuntimeExecutor改为docker,这样就不存在兼容性问题了。

详细见:

argoproj/argo-workflows#2685 (comment) https://argoproj.github.io/argo-workflows/workflow-executors/