robot tcs, test charts, robot container added
[ta/cloudtaf.git] / resources / test_charts / cpu-pooling-exclusive1 / templates / cpupooling-deployment1.yaml
diff --git a/resources/test_charts/cpu-pooling-exclusive1/templates/cpupooling-deployment1.yaml b/resources/test_charts/cpu-pooling-exclusive1/templates/cpupooling-deployment1.yaml
new file mode 100644 (file)
index 0000000..875ca7b
--- /dev/null
@@ -0,0 +1,27 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: cpu-pooling-1
+  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: ["/usr/bin/dumb-init", "-c", "--"]
+        args: ["sleep", "1000"]
+        resources:
+          requests:
+            nokia.k8s.io/exclusive_caas: {{ .Values.pool_req }}
+          limits:
+            nokia.k8s.io/exclusive_caas: {{ .Values.pool_req }}
+      nodeSelector:
+        nodename: {{ .Values.nodename }}