Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Components and Services running ELIOT IotGateway/ Edge Node


Deploy Application in ELIOT

  1. Login to Developer Portal https://ip:30092 

             1.1   Add sandbox env to deploy application before publish

                     Click System -> Host Management -> Add Host

Image Added

         

             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.

Image Added 


      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 

Image Added

      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) 

Image Added


      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


Image Added

      2.4.   Download /root/.kube/config file from edge node.

              And click on Upload config file to upload.


Image Added

      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


Image Added


              Now click on Deploy button.

              Enter APP Name and APP Description click confirm


Image Added


             Application will be deployed on edge.

Developer  Guide and Troubleshooting

...