Skip to content
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

Use velad to install the kubevela development environment #130

Open
yikuaibro opened this issue Mar 1, 2023 · 10 comments
Open

Use velad to install the kubevela development environment #130

yikuaibro opened this issue Mar 1, 2023 · 10 comments

Comments

@yikuaibro
Copy link

yikuaibro commented Mar 1, 2023

@chivalryq @charlie0129 I set up the development environment of kubevela according to the tutorial document, after executing velad install
The result is as follows:
Ubuntu 18.04.6 (Linux 4.15.0-194-generic x86_64)
image

Win10 10.0.17763.4010
Use CMD or Powershell
This error msg will appear in the middle
image
done
image

what should I do?

@chivalryq
Copy link
Member

chivalryq commented Mar 1, 2023

In the first image, it shows the hook fails. Can you run command below to check what's in the cluster? Maybe your cluster isn't setup successfully.

kubectl get pod -A

In Win10, there's some problems when loading image in your environment. What's your docker environment? Did you use a docker desktop or? Run

docker ps 

to check if the cluster container(k3s) has started.

@yikuaibro
Copy link
Author

kubectl get pod -A
image

On win10, docker desktop is used
image

@chivalryq
Copy link
Member

In Ubuntu, check journalctl -xe to check what happens to k3s.
In Windows, check the container logs please.

@yikuaibro
Copy link
Author

yikuaibro commented Mar 1, 2023

Too much content, I can't find the important content, here is the log file
In Ubuntu
https://docs.qq.com/document/DRmZmcHBkRVlXa0tI
In Windows,
k3d-velad-cluster-default-server-0 container:
https://docs.qq.com/doc/DRm1xeGVKSUZTdVNM
k3d-velad-cluster-default-serverlb container:
https://docs.qq.com/doc/DRlRQVFdncnhEVGp4

@chivalryq
Copy link
Member

chivalryq commented Mar 1, 2023

In Ubuntu, the container can't be created

exec: "apparmor_parser": executable file not found in $PATH

try commands below or a higher version of Ubuntu.

apt install apparmor apparmor-utils

While in Windows, the container is pulling the image. Your network seems can't access the image registry. So it fails. Images should be loaded to cluster but fails in the last step. You can check that process again.

@yikuaibro
Copy link
Author

Thanks, I'll try again next time.

@yikuaibro
Copy link
Author

@chivalryq In windows, I solved docker increase-rate-limit, and I found several err. But I don't know how to fix them.
image
image
image

then stuck here
image
log:
https://docs.qq.com/doc/DRnV3R2pDdmFBaU1I

@chivalryq
Copy link
Member

Have you succeed in Ubuntu? @yikuaibro

@yikuaibro
Copy link
Author

No, I gave up installing it in Ubuntu because I can't upgrade the version of Ubuntu. So only tried in win.

@chivalryq
Copy link
Member

But did apt install apparmor apparmor-utils work ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants