当前仓库属于暂停状态,部分功能使用受限,详情请查阅 仓库状态说明
1 Star 0 Fork 2

灰哥哥 / edgexfoundry-k8s
暂停

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

Automate deploy edgexfoundry on kubernetes

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目录下执行

Install on k8s master host

Step 1: Grant executable permissions in the bin directory

chmod -R +x ./bin

Step 2: Modify config file

edit edgex.conf, modify NFS_HOST to your nfs server real IP
edit hosts, modify IPs to your k8s master host IP

Step 3: Put images into images directory

In directory of images holds using images which is defined in *-deploy.yaml file in directory of edgex-service

Step 4: Modify deploy files

In the directory of edgex-service ,modify image to yours in *-deploy.yaml file

Step 5: Perform the installation

cd ./bin
./install-edgex-master.sh

Install on k8s normal nodes

INSTALL normal nodes MUST AFTER master install finished !

Step 1: Grant executable permissions in the bin directory

chmod -R +x ./bin

Step 2: Modify config file

modify edgex.conf, change NFS_HOST to your nfs server real IP

Step 3: Put images into images directory

same to master host

Start or Stop edgex services

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

Start or Stop single service

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

Unload edgexfoundry

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

Package release

Finally, you can package it into a * .tar.gz and publish it.

Download the prepared installation package

下载安装包edgexfoundry fuji版
edgex-fuji-k8s_standard_1.1.0.tar.gz

application images

image image image image image 安装界面
安装完成
UI显示图片 KAFKA接收消息 13157166232 images

空文件

简介

deploy edgexfoundry to kubernetes 以安装包的方式,将edgexfoundry部署到kubernetes集群 展开 收起
Shell
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
Shell
1
https://gitee.com/hui_gege/edgexfoundry-k8s.git
git@gitee.com:hui_gege/edgexfoundry-k8s.git
hui_gege
edgexfoundry-k8s
edgexfoundry-k8s
master

搜索帮助