From 82c63d33cf8ade806228a9e5ae43dd4527789a91 Mon Sep 17 00:00:00 2001 From: Mandeep Khinda Date: Mon, 21 Aug 2017 16:04:37 -0400 Subject: ONAP Portal 1.1 work -Updating yamls, and config pod data and tag -VNC pod is currently WIP as the other services are not available yet. Issue-ID: OOM-151 Change-Id: I8f201645481888657d42bfe0e16ca505187521c7 Signed-off-by: Mandeep Khinda --- kubernetes/portal/portal-widgets-deployment.yaml | 57 ++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 kubernetes/portal/portal-widgets-deployment.yaml (limited to 'kubernetes/portal/portal-widgets-deployment.yaml') diff --git a/kubernetes/portal/portal-widgets-deployment.yaml b/kubernetes/portal/portal-widgets-deployment.yaml new file mode 100644 index 0000000000..e170313a1e --- /dev/null +++ b/kubernetes/portal/portal-widgets-deployment.yaml @@ -0,0 +1,57 @@ +apiVersion: extensions/v1beta1 +kind: Deployment +metadata: + name: portalwidgets +spec: + selector: + matchLabels: + app: portalwidgets + template: + metadata: + labels: + app: portalwidgets + name: portalwidgets + annotations: + pod.beta.kubernetes.io/init-containers: '[ + { + "args": [ + "--container-name", + "portaldb" + ], + "command": [ + "/root/ready.py" + ], + "env": [ + { + "name": "NAMESPACE", + "valueFrom": { + "fieldRef": { + "apiVersion": "v1", + "fieldPath": "metadata.namespace" + } + } + } + ], + "image": "oomk8s/readiness-check:1.0.0", + "imagePullPolicy": "Always", + "name": "portalapps-readiness" + } + ]' + spec: + containers: + - image: nexus3.onap.org:10001/openecomp/portalwms:1.1-STAGING-latest + name: portalwidgets + volumeMounts: + - mountPath: /application.properties + name: portalwidgets-application-properties + ports: + - containerPort: 8082 + readinessProbe: + tcpSocket: + port: 8082 + initialDelaySeconds: 5 + periodSeconds: 10 + volumes: + - name: portalwidgets-application-properties + hostPath: + path: /dockerdata-nfs/onapdemo/portal/portal-fe/webapps/etc/ECOMPWIDGETMS/application.properties -- cgit 1.2.3-korg