Introduction
...
Once the execution is completed in console will see prompt "ELIOTEdge Environment Installed , Components Install ELIOT Master and EDGE Nodes Successfully"
...
Components and Services running ELIOT IotGateway/ Edge Node
Deploy Application in ELIOT
- Login to Developer Portal https://ip:30092
1.1 Add sandbox env to deploy application before publish
Click System -> Host Management -> Add Host
Name: general name
System: k8s
Lcmip: sandbox ip(for testing purpose can provide edge ip, if no sandbox env)
mecHost: sandbox ip(for testing purpose can provide edge ip, if no sandbox env)
Port: 31252
Protocol: https
Architecture: X86
Status: Normal
Port Range: leave as it is
Address: Bangalore
UploadConfig File: upload sandbox env kubeconfig file
1.2 Click on Workspace -> Create Project -> Application Integration -> Start
- Provide App Name, Version, Provider, Workload Type, Architecture, Industry, Type.
- Upload Icon, provide Description. And click on confirm.
1.3. Now click on Deployment Test.
- Upload Docker images directly from portal by clicking on Upload App Image
Or, directly push Docker images to Harbor repo (takes lesser time, preferred)
- Click next, upload deployment yaml file now.
- After config upload, click next and click start deployment
- After Deployment is success, click on Release Recourses
Note:
- While Deployment test if any error happens, open ATP portal (https://ip:30094) in another tab of browser, sing in, come back to developer portal and re run deployment test
- gitee.com/edgegallery/applications repo provides, A lot of applications with their logo, deployment yaml & user guides
1.4. Now click on Application Release
Upload file for Application Description
Click save config, click Next Step, click Start Test, scroll down to find & click Start Test button, click Next Step, click publish to publish application to appstore.
2. Login to MECM Portal https://ip:30093
2.1 click on Systems -> MEPM -> New Registration
Name: Applcm
IP: applcm “public ip”
Port: 31252
2.2. click on Systems -> App Store -> New Registration
App Store Name: appstore(any general name)
IP: Appstore public ip
Port: 30099
Appstore Repo: {HarborIP:443}
Repo Name: appstore(any general name)
Repo Username: admin(harbor user name)
Repo Password: (harbor password)
Vendor: vendor(any general name)
2.3. Add k8s node:
Click on Edge Nodes -> New Registration
VM: k8s
Name: edge1
IP: edge public ip
Location: select from drop down
Address: yanta
Coordinates: 116.39,39.90
Architecture: x86
Capabilities: select none
MEPM: select applcm node from dropdown
2.4. Download /root/.kube/config file from edge node.
And click on Upload config file to upload.
2.5. Sync applications from AppStore
Click on APP Management -> Package Management -> Synchronize From App Store
Select check boxes of applications to be synced and click confirm.
2.6. Distribute and Deploy app.
Click on APP Management
After deciding the application to be deployed, find and click on Distribute button on the application row.
Select the edge node check box and click confirm
Now click on Deploy button.
Enter APP Name and APP Description click confirm
Application will be deployed on edge.
Developer Guide and Troubleshooting
...
S. No | Software | Type | Version | License | Remarks |
1. | Docker | CRI | 18.09 | Apache 2.0 license | No code modifications done |
2. | Kubernetes | Orchestration | v1.18.7 | Apache 2.0 license | No code modifications done |
3. | Edge Gallery | Open Source MEC Platform | 1.1.1 | Apache 2.0 license | Open Source MEC Platform |
4. | Grafana | Monitoring | 7.1.1 | Apache 2.0 license |
EDGE / IotGateway Node
S. No | Software | Type | Version | License Information | Remarks |
1. | Docker | CRI | 18.09 | Apache 2.0 license | No code modifications done |
2. | K8s | Orchestration | 1.18.7 | Apache 2.0 license | No code modifications done |
3. | Edge Gallery | Open Source MEC Platform | 1.1.1 | Apache 2.0 license | No code modifications done |
4. | cAdvisor | Container Metrics | v0.36.0 | Apache 2.0 license | No code modifications done |
5. | RabbitMQ | Message Broker | 3.7 | Mozilla Public License | No code modifications done. RabbitMQ image is deployed as is. |
6. | Prometheus | Metrics Collector | 9.3.1 | Apache 2.0 license | Code part of Edge Gallery |
7. | OPC-UA | IoT Protocol | Geneva | Apache 2.0 license | Upstream |
11 | EdgeX | Services | Edinburgh | Apache 2.0 license | Upstream |
References
...