-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't run example "hello-world" on OpenShift due to hostPath error #1272
Comments
Its because the workflow pod trying to mount /var/run/docker.sock for better performance on cmd like |
Hi @VaibhavPage , thanks for your help, adding the Cheers! |
@VaibhavPage , @devops-42 , i have added the "containerRuntimeExecutor: kubelet", but still the issue is not getting resolved. please find my configmap: apiVersion: v1 can you kindly check anything missing in my configmap? |
The EDIT: apiVersion: v1
data:
config: |
ContainerRuntimeExecutor: kubelet
kind: ConfigMap
... # left out for brevity |
Since I am having the same issue, it would be great if you could show us the solution. How do we See here for the adding ControllerRuntimeExecutor: kubelet and here for k8s-api Both worked for me, but I am sticking to k8s-api. |
Hi, sorry for bringing this up again, but changing the runtime executor to "kubelet" in the namespace install manifest does not work for me? Latest argo, k8s 1.15.9.
|
@pisymbol use |
@CermakM Tried both. Still no worky. I got it to work by giving my namespace a no restriction psp with respect to volumes but I thought the k8sapi would cause the controller not to use hostPath, right? |
@pisymbol yes, k8sapi executor will not use |
@CermakM Is there something I have to do special then outside of changing the namespace-install yaml's ConfigMap as per above and reinstall? That's what I did and I still get the hostPath error? That's why I am confused (this was a complete fresh install too - think k delete -f namespace-install.yaml && k install -f namespace-install.yaml -n argo etc.), |
* feat: customize maxBytes and maxMsgs for EventBus Signed-off-by: Derek Wang <whynowy@gmail.com>
Is this a BUG REPORT or FEATURE REQUEST?: BUG REPORT
What happened:
Following the "Getting started section I performed the following steps:
Argo showed an error message:
After looking at the workflow template I wonder that there's neither a volume nor a hostPath defined. Other examples (
coinflip
) aborted with the same error.What you expected to happen:
An output that the
hello-world
workflow has been processed successfully.How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:
Other debugging information (if applicable):
The text was updated successfully, but these errors were encountered: