...
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 | ||
---|---|---|
| ||
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:
Add PCEI Location Api App:
Associate the App tar file and the Profile tar file with the PCEI Location API App:
Select "Placement" and place the PCEI Location API App onto the "EDGE-K8S-2" cluster:
Deploying PCEI Location API App on Edge Cluster
...