velad icon indicating copy to clipboard operation
velad copied to clipboard

Use velad to install the kubevela development environment

Open yikuaibro opened this issue 1 year ago • 10 comments

@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?

yikuaibro avatar Mar 01 '23 03:03 yikuaibro

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.

chivalryq avatar Mar 01 '23 08:03 chivalryq

kubectl get pod -A image

On win10, docker desktop is used image

yikuaibro avatar Mar 01 '23 08:03 yikuaibro

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

chivalryq avatar Mar 01 '23 08:03 chivalryq

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

yikuaibro avatar Mar 01 '23 08:03 yikuaibro

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.

chivalryq avatar Mar 01 '23 09:03 chivalryq

Thanks, I'll try again next time.

yikuaibro avatar Mar 01 '23 09:03 yikuaibro

@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

yikuaibro avatar Mar 01 '23 11:03 yikuaibro

Have you succeed in Ubuntu? @yikuaibro

chivalryq avatar Mar 03 '23 08:03 chivalryq

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

yikuaibro avatar Mar 03 '23 09:03 yikuaibro

But did apt install apparmor apparmor-utils work ?

chivalryq avatar Mar 03 '23 09:03 chivalryq