Commit d8dbdfe8 authored by Yann Garcia's avatar Yann Garcia
Browse files

Move meep-dai sharing forlder to NFS

parent ccc7f9b4
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -8,12 +8,6 @@
		},
		{
			"path": "../mec-sandbox-scenarios"
		},
		{
			"path": "../tmp/nodejs"
		},
		{
			"path": "../tmp/tools"
		}
	],
	"extensions": {
+12 −15
Original line number Diff line number Diff line
@@ -3,31 +3,28 @@ apiVersion: v1
metadata:
  name: meep-dai-onboardedapp-pv
spec:
  storageClassName: meep-dai-onboardedapp-sc
  storageClassName: nfs
  volumeMode: Filesystem
  capacity:
    storage: 100Mi
  accessModes:
    - ReadWriteOnce
  persistentVolumeReclaimPolicy: Retain
  hostPath:
    path: {{ .Values.onboardedapp.location }}

---
kind: StorageClass
apiVersion: storage.k8s.io/v1
metadata:
  name: meep-dai-onboardedapp-sc
provisioner: kubernetes.io/no-provisioner
volumeBindingMode: WaitForFirstConsumer
    - ReadWriteMany
  persistentVolumeReclaimPolicy: Recycle
  mopuntOptions:
    - hard
    - nfsvers=4.1
  nfs:
    server: 172.29.10.52
    path: /mnt/nfs/mec_sandbox
---
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: meep-dai-onboardedapp-pvc
spec:
  storageClassName: meep-dai-onboardedapp-sc
  storageClassName: nfs
  accessModes:
    - ReadWriteOnce
    - ReadWriteMany
  resources:
    requests:
      storage: 100Mi
+1 −1
Original line number Diff line number Diff line
@@ -25,7 +25,7 @@ VOLUME /onboardedapp-vol

RUN chmod +x /entrypoint.sh

RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends procps lftp
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends procps lftp nfs-common

EXPOSE 31120-31129/tcp

+3 −3
Original line number Diff line number Diff line
@@ -7,10 +7,10 @@ info:
  license:
    name: BSD-3-Clause
    url: https://forge.etsi.org/legal-matters
  version: 2.2.1
  version: 3.1.1
externalDocs:
  description: ETSI GS MEC016 V2.2.1 Device application interface
  url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/016/02.02.01_60/gs_MEC016v020201p.pdf
  description: ETSI GS MEC016 V3.1.1 Device application interface
  url: https://www.etsi.org/deliver/etsi_gs/MEC/001_099/016/03.01.01_60/gs_mec016v030101p.pdf
servers:
- url: https://localhost/sandboxname/dev_app/v1
tags:
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
 *
 * AdvantEDGE Device application interface
 *
 * Device application interface is AdvantEDGE's implementation of [ETSI GS MEC016 Device application interface](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/016/02.02.01_60/gs_MEC016v020201p.pdf) <p>[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-dai](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-dai) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about radio conditions in the network <p>**Note**<br>AdvantEDGE supports a selected subset of DAI API endpoints (see below) and a subset of subscription types.
 * Device application interface is AdvantEDGE's implementation of [ETSI GS MEC016 Device application interface](https://www.etsi.org/deliver/etsi_gs/MEC/001_099/016/03.01.01_60/gs_mec016v030101p.pdf) <p>[Copyright (c) ETSI 2017](https://forge.etsi.org/etsi-forge-copyright-notice.txt) <p>**Micro-service**<br>[meep-dai](https://github.com/InterDigitalInc/AdvantEDGE/tree/master/go-apps/meep-dai) <p>**Type & Usage**<br>Edge Service used by edge applications that want to get information about radio conditions in the network <p>**Note**<br>AdvantEDGE supports a selected subset of DAI API endpoints (see below) and a subset of subscription types.
 *
 * API version: 2.2.1
 * Contact: AdvantEDGE@InterDigital.com
Loading