Closed zamamohx closed 6 months ago
invalid configuration: no configuration has been provided, try setting KUBERNETES_MASTER environment variable
This error means you don't have a ServiceAccount properly mounted. It's not an Argo error, it's a k8s client error.
Your describe
output shows that it is indeed missing a ServiceAccount. It's also missing a mount for /var/run/secrets/kubernetes.io/serviceaccount
, hence the error is saying there is no k8s configuration.
- [x] I have tested with the
:latest
image tag (i.e.quay.io/argoproj/workflow-controller:latest
) and can confirm the issue still exists on:latest
. If not, I have explained why, in detail, in my description below.Version
argoexec:v3.3.10
Image: gcr.io/ml-pipeline/argoexec:v3.3.10-license-compliance
This is not :latest
and you did not describe why you didn't use :latest
. Please follow the issue template instructions, they are there for a reason.
Furthermore, v3.3 is an unsupported version of Argo.
And that is a Kubeflow forked image as well, not Argo's own official image. It is not maintained by Argo.
Pre-requisites
:latest
image tag (i.e.quay.io/argoproj/workflow-controller:latest
) and can confirm the issue still exists on:latest
. If not, I have explained why, in detail, in my description below.What happened/what did you expect to happen?
When running the workflow/hello-world-argo-workflow, the init container init fails with the following error:
This occurs while using in kubeflow cluster and i followed https://argo-workflows.readthedocs.io/en/latest/service-accounts/ as well but nothing works.
Expected Behavior: The init container should initialize successfully without encountering the mentioned error.
Steps to Reproduce:
Deploy the workflow/hello-world-argo-workflow. Observe the failure of the init container in kubeflow cluster.
Version
argoexec:v3.3.10
Paste a small workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
Logs from the workflow controller
Logs from in your workflow's wait container