FE k8s deployment 57/4057/2
authorSrinivasan <srinivasan.s.n@huawei.com>
Tue, 19 Jan 2021 07:42:22 +0000 (13:12 +0530)
committerSrinivasan <srinivasan.s.n@huawei.com>
Tue, 19 Jan 2021 08:24:35 +0000 (13:54 +0530)
Signed-off-by: Srinivasan <srinivasan.s.n@huawei.com>
Change-Id: I2ecdf147714df2c51e7976183bbc26f1f9f97af4

example-apps/ROBO/Deployment/robo-dep.yaml [new file with mode: 0644]

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