gpt4 book ai didi

kubernetes - Kubeflow 管道无法创建容器

转载 作者:行者123 更新时间:2023-12-05 01:07:42 27 4
gpt4 key购买 nike

我正在使用 these steps 使用多 channel 部署的本地机器上运行 Kubeflow但是当我尝试运行我的管道时,它被消息 ContainerCreating 卡住了。当我运行 kubectl describe pod train-pipeline-msmwc-1648946763 -n kubeflow 我在描述的事件部分找到了这个:

Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Warning FailedMount 7m12s (x51 over 120m) kubelet, kubeflow-vm Unable to mount volumes for pod "train-pipeline-msmwc-1648946763_kubeflow(45889c06-87cf-4467-8cfa-3673c7633518)": timeout expired waiting for volumes to attach or mount for pod "kubeflow"/"train-pipeline-msmwc-1648946763". list of unmounted volumes=[docker-sock]. list of unattached volumes=[podmetadata docker-sock mlpipeline-minio-artifact pipeline-runner-token-dkvps]
Warning FailedMount 2m22s (x67 over 122m) kubelet, kubeflow-vm MountVolume.SetUp failed for volume "docker-sock" : hostPath type check failed: /var/run/docker.sock is not a socket file

在我看来,我的部署存在问题,但我是 Kubernetes 新手,不知道我现在应该做什么。关于如何解决这个问题的任何想法?我不知道它是否有帮助,但我正在从私有(private) docker 注册表中提取容器,并且我已经根据 this. 设置了 secret 。

最佳答案

您不需要使用 docker。事实上,问题出在 kubeflow 命名空间中的 workflow-controller-configmap 上。你可以编辑它

kubectl edit configmap workflow-controller-configmap -n kubeflow

并将 containerRuntimeExecutor: docker 更改为 containerRuntimeExecutor: pns。您还可以更改一些步骤并将 kubeflow 1.3 安装在 mutlitpass 1.21 而不是 1.15 中。不要使用 kubelfow 插件(至少对我不起作用)。您需要 kustomize 3.2 来创建它们在 https://github.com/kubeflow/manifests#installation 中提到的 list .

关于kubernetes - Kubeflow 管道无法创建容器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/66989018/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com