summaryrefslogtreecommitdiffstats
path: root/kubernetes/portal/portal-widgets-deployment.yaml
diff options
context:
space:
mode:
authorMandeep Khinda <mandeep.khinda@amdocs.com>2017-08-21 16:04:37 -0400
committerMandeep Khinda <mandeep.khinda@amdocs.com>2017-08-21 16:04:37 -0400
commit82c63d33cf8ade806228a9e5ae43dd4527789a91 (patch)
tree59f6eb0bbb7e1dbfa15d07a5ea02c139037650c1 /kubernetes/portal/portal-widgets-deployment.yaml
parente94258e3be0da3a15680de53b1817490c4173759 (diff)
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 <mandeep.khinda@amdocs.com>
Diffstat (limited to 'kubernetes/portal/portal-widgets-deployment.yaml')
-rw-r--r--kubernetes/portal/portal-widgets-deployment.yaml57
1 files changed, 57 insertions, 0 deletions
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