0

我在 GKE 中运行 Argo Workflow,并且在运行以下命令时工作流不显示容器 ID

docker ps --all --no-trunc --format={{.Status}}|{{.Label \"io.kubernetes.container.name\"}}|{{.ID}}|{{.CreatedAt}} 

因为这个等待容器卡在一个循环中,搜索主容器完成。

4

2 回答 2

0

我刚刚将工作流控制器更改为 k8s 并且它工作正常。似乎等待容器需要特权才能在 /etc 路径中使用 docker 文件

于 2021-09-24T19:48:18.537 回答
0

Just change containerRuntimeExecutor: docker in workflow-controller-configmap.yaml because in the latest image of argoproj/workflow-controller default value of containerRuntimeExecutor is changed from docker to emissary.

https://argoproj.github.io/argo-workflows/workflow-controller-configmap.yaml https://argoproj.github.io/argo-workflows/workflow-controller-configmap/

于 2021-11-10T16:52:38.057 回答