Commit dd51cbb0 authored by Dimitrios Laskaratos's avatar Dimitrios Laskaratos
Browse files

Edit README.md

parent 5953d2da
Loading
Loading
Loading
Loading
+14 −9
Original line number Diff line number Diff line
@@ -25,14 +25,19 @@ NOTE: NEF APIs are not yet implemented

SRM can be deployed in a Kubernetes cluster by executing the file _srm-deployment.yaml_ located in the root folder. This file will create a SRM Deployment resource and its supporting native K8s Service. The following table contains the necesssary environment variables for the Kubernetes adapter. If you have defined a custom adapter, include your variables accordingly.

| Edge Cloud Management API  | Description |
| ------------- | ------------- |
|  KUBERNETES_MASTER_IP |  Root url of the Kubernetes apiserver (eg. 10.10.10.10)|
| KUBERNETES_MASTER_PORT  |  Port of the Kubernetes apiserver (eg. 16443)|
| EMP_STORAGE_URI  | Root url of the management database, if deployed  |
|  KUBERNETES_MASTER_TOKEN | Token with which all access to K8s apiserver will authenticated  |
###Adapter environment variables

| Kubernetes  | aerOS | i2Edge |
| ------------- | ------------- |-------------|
| KUBERNETES_MASTER_PORT (eg. 10.10.10.10) | | FLAVOUR_ID |
| EMP_STORAGE_URI  | aerOS_HLO_TOKEN  |
| KUBERNETES_MASTER_TOKEN |  aerOS_ACCESS_TOKEN | - |

###Common environment variables
| Name | Description|
| ADAPTER_BASE_URL| Base address for the edge cloud adapter |
| ARTIFACT_MANAGER_ADDRESS |  Address of the Artefact Manager |
| EDGE_CLOUD_ADAPTER_NAME  | The adapter SRM is going to use throughout its lifecycle. For direct access to K8s just type 'kubernetes'  |
| EDGE_CLOUD_ADAPTER_NAME  | The adapter SRM is going to use throughout its lifecycle.|
| PLATFORM_PROVIDER| The Edge Cloud infrastructure provider|

## Usage