pcb deployment FE 92/4192/2
authorSrinivasan <srinivasan.s.n@huawei.com>
Mon, 29 Mar 2021 14:01:53 +0000 (19:31 +0530)
committerGaurav Agrawal <gaurav.agrawal@huawei.com>
Mon, 29 Mar 2021 14:11:48 +0000 (14:11 +0000)
Signed-off-by: Srinivasan <srinivasan.s.n@huawei.com>
Change-Id: I8149d8460dff1ffd521da40c7865e6e543f13891

example-apps/PDD/deployment/pcb-dep.yaml [new file with mode: 0644]

diff --git a/example-apps/PDD/deployment/pcb-dep.yaml b/example-apps/PDD/deployment/pcb-dep.yaml
new file mode 100644 (file)
index 0000000..c825478
--- /dev/null
@@ -0,0 +1,34 @@
+---
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: pcb-ui-deployment
+spec:
+  replicas: 2
+  selector:
+    matchLabels:
+      app: pcbui
+  template:
+    metadata:
+      labels:
+        app: pcbui
+    spec:
+      containers:
+        - name: pcbui
+          image: ealtedge/pcbui
+          ports:
+            - containerPort: 80
+---
+apiVersion: v1
+kind: Service
+metadata:
+  name: pcbui-service
+spec:
+  type: NodePort
+  selector:
+    app: pcbui
+  ports:
+    - protocol: "TCP"
+      port: 8000
+      targetPort: 80
+      nodePort: 30002