weaveworks / weave

Simple, resilient multi-host containers networking and more.
https://www.weave.works
Apache License 2.0
6.62k stars 671 forks source link

After installing in k8s the pod cluster did not start #3973

Open Sinersis opened 1 year ago

Sinersis commented 1 year ago

What you expected to happen?

Normal and easy setup

What happened?

After installing in k8s the pod cluster did not start.

How to reproduce it?

I have no idea.

Maybe the problem is that I am deploying a cluster under Apple Sillicon M1 Pro and UTM

Anything else we need to know?

Apple Sillicon M1 Pro and UTM

Versions:

kubectl version --short Flag --short has been deprecated, and will be removed in the future. The --short output will become the default. Client Version: v1.26.0 Kustomize Version: v4.5.7 Server Version: v1.26.0

Logs:

kubectl logs weave-net-z29ds -n kube-system
Defaulted container "weave" out of: weave, weave-npc, weave-init (init)
/usr/bin/weaveutil: line 21: ELF: not found
/usr/bin/weaveutil: line 21: p��@@: not found
/usr/bin/weaveutil: line 21: H���H�H��1ҿDŽ�S=u�腭T=~u
                                                    �r�ju�^���u?Hju2H=t�
u�
tH:H�A�HĀH�2Tu?Hju2H=t�
u�
tH:H��SHĀH�1Tu?Hju2H=Wt�
u�
tH:H��HĀH�1TEu?Hju2H=t�
u�
tH:H�S�HĀH�etcheckTu?Hju2H=t�
u�
tH:H��HĀH�0TAEu?Iju2H=gt�
u�
tH:H��HĀH�T�o)%
               1H�
                  P�u?Hju2H=t�
u�
tH:H�B�HĀH�0Tu?Hju2H=t�
u�
tH:H��SHĀH�/T��f.H=1
H�HHH��EtL�cHII�H�H���I����: Filename too longtH��+H�-c@0��H-fHWH��HZH;Hu�<H@HHHgH�[]A\A]A^A_�1Hu붿D-��I��X���H�E1�5f��~|E�1�1AAyD�tZ��@�t���%A���M�A�A�E1A5�H�t
�@���%A�Ǹ����HI떅�룾A��A: not found=wd�lj���%�[LŁv�tS�
/usr/bin/weaveutil: line 23: syntax error: unexpected word (expecting ")")
kubectl logs weave-net-z29ds -n kube-system weave-npc
/usr/bin/weave-npc: line 1: syntax error: unterminated quoted string
kubectl get events
LAST SEEN   TYPE      REASON                    OBJECT                     MESSAGE
31m         Normal    Starting                  node/kube-cluster-master   Starting kubelet.
31m         Warning   InvalidDiskCapacity       node/kube-cluster-master   invalid capacity 0 on image filesystem
31m         Normal    NodeAllocatableEnforced   node/kube-cluster-master   Updated Node Allocatable limit across pods
31m         Normal    NodeHasSufficientMemory   node/kube-cluster-master   Node kube-cluster-master status is now: NodeHasSufficientMemory
31m         Normal    NodeHasNoDiskPressure     node/kube-cluster-master   Node kube-cluster-master status is now: NodeHasNoDiskPressure
31m         Normal    NodeHasSufficientPID      node/kube-cluster-master   Node kube-cluster-master status is now: NodeHasSufficientPID
31m         Normal    RegisteredNode            node/kube-cluster-master   Node kube-cluster-master event: Registered Node kube-cluster-master in Controller
31m         Normal    Starting                  node/kube-cluster-master
27m         Normal    NodeReady                 node/kube-cluster-master   Node kube-cluster-master status is now: NodeReady

Network:

ip route
default via 192.168.64.1 dev enp0s1 proto dhcp src 192.168.64.14 metric 100
172.17.0.0/16 dev docker0 proto kernel scope link src 172.17.0.1 linkdown
192.168.64.0/24 dev enp0s1 proto kernel scope link src 192.168.64.14 metric 100
192.168.64.1 dev enp0s1 proto dhcp scope link src 192.168.64.14 metric 100