robot tcs, test charts, robot container added
[ta/cloudtaf.git] / resources / test_charts / cpu-pooling-shared1 / templates / cpupooling-deployment4.yaml
diff --git a/resources/test_charts/cpu-pooling-shared1/templates/cpupooling-deployment4.yaml b/resources/test_charts/cpu-pooling-shared1/templates/cpupooling-deployment4.yaml
new file mode 100644 (file)
index 0000000..b5d5ab0
--- /dev/null
@@ -0,0 +1,27 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: cpu-pooling-4
+  namespace: default
+spec:
+  selector:
+    matchLabels:
+      app: cpu-pooling
+  template:
+    metadata:
+      labels:
+        app: cpu-pooling
+    spec:
+      containers:
+      - name: cpu-pooling
+        image: {{ .Values.registry_url }}:5555/caas/alpine_test:latest
+        imagePullPolicy: IfNotPresent
+        command: ["/bin/sh", "-c", "--"]
+        args: ["yes > /dev/null"]
+        resources:
+          requests:
+            nokia.k8s.io/shared_caas: {{ .Values.pool_req }}
+          limits:
+            nokia.k8s.io/shared_caas: {{ .Values.pool_req }}
+      nodeSelector:
+        nodename: {{ .Values.nodename }}