Deployment yaml for RICDMS deployment 13/11113/1
authorsubhash kumar singh <subh.singh@samsung.com>
Tue, 16 May 2023 12:02:16 +0000 (12:02 +0000)
committersubhash kumar singh <subh.singh@samsung.com>
Tue, 16 May 2023 12:02:16 +0000 (12:02 +0000)
Deployment yaml for RICDMS deployment.

Signed-off-by: subhash kumar singh <subh.singh@samsung.com>
Change-Id: I4313accc776cfa8971efbf819e593098dd5e7bf3

deployment/dms-dep.yaml [new file with mode: 0644]

diff --git a/deployment/dms-dep.yaml b/deployment/dms-dep.yaml
new file mode 100644 (file)
index 0000000..14fef41
--- /dev/null
@@ -0,0 +1,36 @@
+apiVersion: v1
+kind: ReplicationController
+metadata:
+  name: dms-server
+  labels:
+    name: dms-server
+    app: dms-server
+spec:
+  replicas: 1
+  selector:
+    app: dms-server
+  template:
+    metadata:
+      labels:
+        name: dms-server
+        app: dms-server
+    spec:
+      containers:
+      - name: dms-server
+        image: <build image name>
+        imagePullPolicy: Always
+        resources:
+          limits:
+            memory: "128Mi"
+            cpu: "500m"
+        ports:
+          - containerPort: 8000
+            protocol: TCP
+        volumeMounts:
+        - name: kube-config-vol
+          mountPath: /root/.kube
+          readOnly: true
+      volumes:
+        - name: kube-config-vol
+          configMap:
+            name: kube-env
\ No newline at end of file