-
Notifications
You must be signed in to change notification settings - Fork 407
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
[feature request] Create STATIC_POD_PATH dir if not exists #460
Comments
@adamzhoul Because by the way, @Peeknut Do you have any comments for this feature request? |
@rambohe-ch yes you are right, it's should not be yurtctl's responsbility. But, what to do with the bad experience ? well, I encountered this. follow the logic, yurtctl should get static path from kubelet config instead of --params.
besides, who is responsible for dir creation? kubelet ? kubeadm ? |
Yes, maybe yurtctl get static path from kubelet config is better. As different nodes maybe has different kubelet staticPodPath, this cannot be handled by passing in parameters. |
By the way, would you want to take over this issue and fix it? |
sure. |
/assign @adamzhoul |
What would you like to be added:
When deploying yurtHub during RunConvertEdgeNode(), programs return when PodMainfestPath dir not exists.
openyurt/pkg/yurtctl/cmd/convert/edgenode.go
Line 251 in 47a88ea
openyurt/pkg/yurtctl/cmd/convert/edgenode.go
Line 338 in 47a88ea
What if we create that dir?
Why is this needed:
the static path may not always be created during installing ( yurtctl join not create that dir when i execute )
we don't know how users add the edge node in the first place.
others
/kind feature
The text was updated successfully, but these errors were encountered: