-
Hello, team! we try to use argo workflow in private cluster (private docker hub:
apiVersion: apps/v1
kind: Deployment
metadata:
name: workflow-controller
spec:
selector:
matchLabels:
app: workflow-controller
template:
metadata:
labels:
app: workflow-controller
spec:
containers:
- args:
- --configmap
- workflow-controller-configmap
- --executor-image
- "artifactory.chao.com/argoproj/v331/argoexec:v3.3.1"
Status: Pending
IP:
Controlled By: Workflow/chao-demo-mc2q8
Containers:
wait:
Container ID:
Image: argoproj/argoexec:v2.3.0
Image ID:
Port: <none>
Host Port: <none>
Command:
argoexec
wait
State: Waiting
Reason: ContainerCreating
Ready: False
Restart Count: 0
Environment:
ARGO_POD_NAME: chao-demo-mc2q8 (v1:metadata.name)
ARGO_CONTAINER_RUNTIME_EXECUTOR: k8sapi
Mounts:
/argo/podmetadata from podmetadata (rw)
/var/run/secrets/kubernetes.io/serviceaccount from default-token-drrmm (ro)
main:
Container ID:
Image: artifactory.chao.com/argoproj/v331/python:alpine3.6
Image ID:
Port: <none> we set configmap . and
executor: |
image: artifactory.chao.com/argoproj/v331/argoexec:v3.3.1
resources:
requests:
cpu: 10m
memory: 64Mi
time="2022-04-06T11:55:52.621Z" level=info msg="Get configmaps 200"
time="2022-04-06T11:55:52.632Z" level=info msg="Configuration:\nartifactRepository:\n s3:\n accessKeySecret:\n key: accesskey\n name: my-minio-cred\n bucket: my-bucket\n endpoint: minio:9000\n insecure: true\n secretKeySecret:\n key: secretkey\n name: my-minio-cred\ncontainerRuntimeExecutors:\n- name: emissary\n selector:\n matchLabels:\n workflows.argoproj.io/container-runtime-executor: emissary\n- name: pns\n selector:\n matchLabels:\n workflows.argoproj.io/container-runtime-executor: pns\nexecutor:\n image: artifactory.chao.com/argoproj/v331/argoexec:v3.3.1\n imagePullPolicy: Always\n name: \"\
{\"image\":\"argoproj/argoexec:v2.3.0\",\"imageID\":\"\",\"lastState\":{},\"name\":\"wait\",\"ready\":false,\"restartCount\":0,\"started\":false,\"state\":{\"waiting\":{\"reason\":\"ContainerCreating\"}}}]}} |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 6 replies
This comment has been hidden.
This comment has been hidden.
-
This is probably misconfiguration of some kind. Are there two installations in your cluster? One v3.3.1 and one v2.3.0? |
Beta Was this translation helpful? Give feedback.
-
@alexec @terrytangyuan I guess that it is bug , the problems was caused by argoworkflow 3.3.1 and kubeflow's argo 2.3.0 |
Beta Was this translation helpful? Give feedback.
-
Would it be possible to expand the documentation surrounding specifiying custom image locations for the argo server install? I feel the use case is common but the solution is difficult to discover |
Beta Was this translation helpful? Give feedback.
-
For setting the image repository, adding this to the executor:
image:
registry: quay-proxy.mydomain.foo This ends up being spec:
containers:
- args:
- --executor-image
- quay-proxy.mydomain.foo/argoproj/argoexec:v3.5.7 |
Beta Was this translation helpful? Give feedback.
This is probably misconfiguration of some kind. Are there two installations in your cluster? One v3.3.1 and one v2.3.0?