Argo workflow wait pod is not showing processes with command docker ps on GKE

673 Views Asked by At

I am running Argo Workflow in GKE and workflow does not show container id while running following command

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

Because of this wait container is stuck in a loop, searching for main container to be finished.

2

There are 2 best solutions below

1
On

I just changed the workflow controller to k8s and it worked. Seems like wait container needs to be privileged in order to use docker file at /etc path

0
On

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/