Currently only supports Centos kuternetes cluster ,Suggest Centos 6+ amd64
自动化部署edgexfoundry到K8S集群,目前只支持操作系统Centos K8S 集群,建议 Centos 6+
Warning: the shell scripts mentioned below, make sure to execute in the bin directory
警告:下面提到的shell 脚本,需在bin目录下执行
chmod -R +x ./bin
edit edgex.conf, modify NFS_HOST to your nfs server real IP
edit hosts, modify IPs to your k8s master host IP
In directory of images holds using images which is defined in *-deploy.yaml file in directory of edgex-service
In the directory of edgex-service ,modify image to yours in *-deploy.yaml file
cd ./bin
./install-edgex-master.sh
INSTALL normal nodes MUST AFTER master install finished !
chmod -R +x ./bin
modify edgex.conf, change NFS_HOST to your nfs server real IP
same to master host
execute the following command to start or stop edgex:
cd ./bin
./start-edgex.sh redis
or
./start-edgex.sh mongo
./stop-edgex.sh redis
or
./stop-edgex.sh mongo
cd ./bin
Creating services is different
For core、support、export、service use:
./create-edgex-service.sh SERVICENAME
Other service use: ./create-service.sh
Delete service is the same, both use: ./delete-service.sh SERVICENAME
value of SERVICENAME is file name in directory of edgex-service,Support fuzzy matching, but make sure to locate the only service you want
if you want to unload edgexfoundry from k8s cluster, execute the following command:
cd ./bin
first unload on k8s master host:
./uninstall-edgex-master.sh
then unload on normal k8s nodes host:
./uninstall-edgex-node.sh
Finally, you can package it into a * .tar.gz and publish it.
下载安装包edgexfoundry fuji版
edgex-fuji-k8s_standard_1.1.0.tar.gz
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。