Versions Compared

Key

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

...

Packaging PCEI Location API App

To package PCEI Location API App, we need to download Helm charts to a local directory on your laptop and create a tar App file:

Code Block
languagebash
git clone "https://gerrit.akraino.org/r/pcei"
cd pcei
mkdir pceilocapi1
cp -a pceilocapihelm/. pceilocapi1/
ls -l
ls -l
total 16
-rw-r--r--  1 oberzin  staff  120 Dec 29 23:24 Chart.yaml
drwxr-xr-x  6 oberzin  staff  192 Dec 29 23:34 templates
-rw-r--r--  1 oberzin  staff  376 Dec 29 23:34 values.yaml

cd ..
tar -czvf pceilocapi1.tar pceilocapi1/ 
a pceilocapi1
a pceilocapi1/Chart.yaml
a pceilocapi1/.helmignore
a pceilocapi1/templates
a pceilocapi1/values.yaml
a pceilocapi1/templates/deployment.yaml
a pceilocapi1/templates/service.yaml
a pceilocapi1/templates/configmap.yaml
a pceilocapi1/templates/_helpers.tpl


Defining Location API App in PCEI

Access EMCO UI. Define a Project and a Service for PCEI Location API:

Image Added


Image Added

Add PCEI Location Api App:

Image Added

Associate the App tar file and the Profile tar file with the PCEI Location API App:

Image Added

Select "Placement" and place the PCEI Location API App onto the "EDGE-K8S-2" cluster:

Image Added

Deploying PCEI Location API App on Edge Cluster

...