-
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
[BUG] Cannot setup openyurt with yurtctl convert --provider kind
#484
Comments
@Peeknut Would you be able to help fix this problem? |
what about using |
@adamzhoul , Hello, I find some
However, none of them looks like the right file. I tried the first one, and new error occurred. Maybe it's not a right way.
|
yurtctl convert --provider kind
yurtctl convert --provider kind
Now we read the podManifests path from kubeadm file.
in all: this leads to a problem when yurtctl is not in the cluster node. Solutions:
@rambohe-ch @Congrool @Peeknut what do you think? |
Does 10-kubeadm.conf in dir |
@Peeknut There's no ls /usr/lib/systemd/system/kubelet.service.d/
ls: cannot access '/usr/lib/systemd/system/kubelet.service.d/': No such file or directory |
Could you show the file |
@Peeknut
It's the same as the file in the kind repo. @adamzhoul
It works.
I think it's better to enable users to run yurtctl locally without exec into kind node when |
Currently the value of parameter |
The err msg show |
@Peeknut |
@Peeknut Yes. Both I mean if we can support deploying openyurt without exec into the docker container when we set |
Oo, I got it. |
For Solution 2 (Using the default value) has the same effect as the parameters passed in now.(that is, we assume that the |
what do you mean by adding a subcommand? |
Maybe just like |
Is this means?
I think this may lead to :
|
yes, maybe should compare solutions or find other solutions. |
for now, solution 3 can be the quickest way and has a small size code updated.
after all, run what do you think? @Peeknut @Congrool @rambohe-ch |
Yes, this can solve the problem, but maybe using the code form is more elegant than using the linux command. |
@adamzhoul @Peeknut how about define
if |
Do you mean hard code? Something like:
I agree with that.
Only put this into
what about creating a link? manually install is really difficult.
|
@adamzhoul Thank you for your feedback.
yes, use hard code to define
It's a good idea, we can also add |
@adamzhoul Would you like to take over and fix this bug? |
sure |
/assign @adamzhoul |
still, I don't think we need to put something in
|
@adamzhoul how about add some introduction in troubleshooting tutorial? https://github.com/openyurtio/openyurt/blob/master/docs/tutorial/yurtctl.md#troubleshooting |
good idea |
What happened:
Hello, I'd like to deploy the openyurt cluster with yurtctl and kind. It seems that yurtctl supports
kind
with option--provider kind
. However, when I used the following command, it resulted in error.I read the code and found that when yurtctl starts, it will read the 10-kubeadm.conf (at
/etc/systemd/system/kubelet.service.d/10-kubeadm.conf
in default) to get pod manifest path. However, the file and directory does not exsit when using kind. Maybe we should come out a better way to solve it.What you expected to happen:
We can use yurtctl to deploy openyurt with kind.
How to reproduce it (as minimally and precisely as possible):
Use
yurtctl convert -t --provider kind --cloud-nodes ${cloudnodes}
to deploy openyurt with kind.Environment:
kubectl version
): 1.20The text was updated successfully, but these errors were encountered: