Giter Site home page Giter Site logo

Comments (4)

Piwriw avatar Piwriw commented on May 25, 2024

你是指“connect error: Network Error : dial tcp 127.0.0.1:1883: connect: connection refused”吗?,这是因为你并没有安装mqtt Broker

from kubeedge.

LiShuang-codes avatar LiShuang-codes commented on May 25, 2024

你是指“connect error: Network Error : dial tcp 127.0.0.1:1883: connect: connection refused”吗?,这是因为你并没有安装mqtt Broker

请问这个mqtt Broker是cloudcore和edgecore都要安装吗?我忘了之前在哪里看到的,说安装kubeedge自带mqtt,安装的mqtt要卸载,否则会占用kubeedge的1883端口,所以我才没有安装

from kubeedge.

Piwriw avatar Piwriw commented on May 25, 2024

你是指“connect error: Network Error : dial tcp 127.0.0.1:1883: connect: connection refused”吗?,这是因为你并没有安装mqtt Broker

请问这个mqtt Broker是cloudcore和edgecore都要安装吗?我忘了之前在哪里看到的,说安装kubeedge自带mqtt,安装的mqtt要卸载,否则会占用kubeedge的1883端口,所以我才没有安装
你应该在keadm join的时候使用with-mqtt=true加入,在之后版本中会使用ds管理,具体的PR在#5233

from kubeedge.

LiShuang-codes avatar LiShuang-codes commented on May 25, 2024

你是指“connect error: Network Error : dial tcp 127.0.0.1:1883: connect: connection refused”吗?,这是因为你并没有安装mqtt Broker

请问这个mqtt Broker是cloudcore和edgecore都要安装吗?我忘了之前在哪里看到的,说安装kubeedge自带mqtt,安装的mqtt要卸载,否则会占用kubeedge的1883端口,所以我才没有安装
你应该在keadm join的时候使用with-mqtt=true加入,在之后版本中会使用ds管理,具体的PR在#5233

在添加这个参数后,keadm join又加不了集群了。详细信息如下:

root@node01:~# keadm join --cloudcore-ipport=192.168.107.10:10000 --edgenode-name=node01 --kubeedge-version=1.15.2 --token=63ee5b45f79fb2941ac7c341f3fdf7dd3d1bd23444a489723dd334c40d7243b3.eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MDk2MDA1NzV9.bPBmxhPuehLPvWj1JezTX0ITAdhEwmTQqDW876qfU4A --remote-runtime-endpoint=unix:///var/run/cri-dockerd.sock --with-mqtt
I0304 13:17:12.632920  237615 command.go:901] 1. Check KubeEdge edgecore process status
I0304 13:17:12.865669  237615 command.go:901] 2. Check if the management directory is clean
I0304 13:17:12.867233  237615 join.go:107] 3. Create the necessary directories
I0304 13:17:13.035934  237615 join.go:184] 4. Pull Images
Pulling docker.io/kubeedge/installation-package:v1.15.2 ...
Successfully pulled docker.io/kubeedge/installation-package:v1.15.2
Pulling docker.io/library/eclipse-mosquitto:1.6.15 ...
Successfully pulled docker.io/library/eclipse-mosquitto:1.6.15
Pulling docker.io/kubeedge/pause:3.6 ...
Successfully pulled docker.io/kubeedge/pause:3.6
I0304 13:17:13.114456  237615 join.go:184] 5. Copy resources from the image to the management directory
E0304 13:17:33.135397  237615 remote_runtime.go:176] "RunPodSandbox from runtime service failed" err="rpc error: code = DeadlineExceeded desc = context deadline exceeded"
Error: edge node join failed: copy resources failed: rpc error: code = DeadlineExceeded desc = context deadline exceeded
execute keadm command failed:  edge node join failed: copy resources failed: rpc error: code = DeadlineExceeded desc = context deadline exceeded

from kubeedge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.