研究 开源边缘计算框架 EdgeX Foundry
作者:互联网
前言
本文的原文连接是: https://blog.csdn.net/freewebsys/article/details/88919255
未经博主允许不得转载。
博主地址是:http://blog.csdn.net/freewebsys
1,关于EdgeX Foundry
官方地址:
https://www.edgexfoundry.org/
文档:
https://wiki.edgexfoundry.org/
github:
https://github.com/edgexfoundry
docker hub :
https://hub.docker.com/u/edgexfoundry
EdgeX Foundry 是一个中立于任何供应商的开源项目,由Linux基金会主持,为物联网边缘计算构建一个通用的开放框架。该项目的核心是一个互操作性框架,该框架托管在完全与硬件和操作系统无关的参考软件平台中,以实现即插即用组件生态系统,从而统一市场并加速物联网解决方案的部署。
参考:https://zhuanlan.zhihu.com/p/40498915
● 核心服务层
● 支持服务层
● 开放服务层
● 设备服务层
https://segmentfault.com/a/1190000012561911
2,使用
https://github.com/edgexfoundry/edgex-go
需要下载 docker-compose
docker compose 安装:
https://github.com/docker/compose/releases
wget https://raw.githubusercontent.com/edgexfoundry/developer-scripts/master/compose-files/docker-compose.yml
docker-compose up -d
然后经过漫长的下载。需要下载好多的镜像。
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
692df23a61b4 edgexfoundry/docker-device-virtual:0.6.0 "/bin/sh -c 'java ..." 2 hours ago Up 2 hours 0.0.0.0:49990->49990/tcp edgex-device-virtual
b6219a49f911 edgexfoundry/docker-export-distro-go:0.7.1 "/export-distro --..." 2 hours ago Up 2 hours 0.0.0.0:5566->5566/tcp, 0.0.0.0:48070->48070/tcp edgex-export-distro
7eeed4fe3e0d edgexfoundry/docker-core-command-go:0.7.1 "/core-command --c..." 2 hours ago Up 2 hours 0.0.0.0:48082->48082/tcp edgex-core-command
24d43e3a0b76 edgexfoundry/docker-support-scheduler-go:0.7.1 "/support-schedule..." 2 hours ago Up 2 hours 0.0.0.0:48085->48085/tcp edgex-support-scheduler
4213673e0aed edgexfoundry/docker-export-client-go:0.7.1 "/export-client --..." 2 hours ago Up 2 hours 0.0.0.0:48071->48071/tcp edgex-export-client
8234f36746f8 edgexfoundry/docker-core-metadata-go:0.7.1 "/core-metadata --..." 2 hours ago Up 2 hours 0.0.0.0:48081->48081/tcp, 48082/tcp edgex-core-metadata
cd76baa3cf56 edgexfoundry/docker-core-data-go:0.7.1 "/core-data --cons..." 2 hours ago Up 2 hours 0.0.0.0:5563->5563/tcp, 0.0.0.0:48080->48080/tcp edgex-core-data
29da187a01e1 edgexfoundry/docker-support-notifications-go:0.7.1 "/support-notifica..." 2 hours ago Up 2 hours 0.0.0.0:48060->48060/tcp edgex-support-notifications
217c34a0dd53 edgexfoundry/docker-support-logging-go:0.7.1 "/support-logging ..." 2 hours ago Up 2 hours 0.0.0.0:48061->48061/tcp edgex-support-logging
07cf596edeae consul:1.1.0 "docker-entrypoint..." 2 hours ago Up 2 hours 0.0.0.0:8400->8400/tcp, 8301-8302/udp, 0.0.0.0:8500->8500/tcp, 8300-8302/tcp, 8600/udp, 0.0.0.0:8600->8600/tcp edgex-core-consul
d2dc49ba452d edgexfoundry/docker-edgex-mongo:0.6.0 "docker-entrypoint..." 2 hours ago Up 2 hours 0.0.0.0:27017->27017/tcp edgex-mongo
da373273297e edgexfoundry/docker-support-rulesengine:0.7.0 "/bin/sh -c 'java ..." 2 hours ago Up 55 minutes 0.0.0.0:48075->48075/tcp edgex-support-rulesengine
150d9b59c525 edgexfoundry/docker-edgex-volume:0.6.0 "/bin/sh -c '/usr/..." 2 hours ago Up 2 hours edgex-files
端口:8500
启动了就发现了一个 consul 服务。
可以看到注册的服务,node 节点, key value 等信息。
同时也有接口可以访问了。
3,EdgeX Foundry Console
启动镜像:
docker run -it -d -p 4000:4000 --name edgex-ui-go edgexfoundry/docker-edgex-ui-go:0.1.1
项目地址:
https://github.com/edgexfoundry/edgex-ui-go
没有配置成功,需要搭建网关,抓了个网站的图片,配置好了,就这样吧。
4,总结
从 github 上面看,这个项目目前不够热。同时也发现,部署的时候docker 启动的镜像比较多。
这样就造成了服务消耗的资源多。同时发现 github 上面还有好多的模块使用的是 java 写的。
那样 镜像的文件就更大了。
总体上感觉还是太复杂了。没有弄明白。还是再看看 k3s 吧。最近很火。
本文的原文连接是:
https://blog.csdn.net/freewebsys/article/details/88919255
博主地址是:http://blog.csdn.net/freewebsys
标签:edgexfoundry,0.0,Foundry,tcp,hours,edgex,开源,EdgeX,docker 来源: https://blog.csdn.net/freewebsys/article/details/88919255