robot tcs, test charts, robot container added
[ta/cloudtaf.git] / resources / test_charts / php-apache / templates / php-apache-deployment.yml
diff --git a/resources/test_charts/php-apache/templates/php-apache-deployment.yml b/resources/test_charts/php-apache/templates/php-apache-deployment.yml
new file mode 100644 (file)
index 0000000..0153907
--- /dev/null
@@ -0,0 +1,34 @@
+apiVersion: apps/v1
+kind: Deployment
+metadata:
+  name: php-apache-deployment
+spec:
+  replicas: 1
+  selector:
+    matchLabels:
+      app: php-apache
+  template: 
+    metadata:
+      labels:
+        app: php-apache
+      annotations:
+        danm.k8s.io/interfaces: |
+          [
+             {
+                "tenantnetwork":"default"
+             }
+          ]
+    spec:
+      nodeSelector:
+        nodetype: caas_master
+      containers:
+      - name: php-apache
+        image: {{ .Values.registry_url }}:5555/caas/php-apache:latest
+        resources:
+          limits:
+            cpu: "0.2"
+            memory: "64Mi"
+          requests:
+            cpu: "0.2"
+            memory: "64Mi"
+