robot tcs, test charts, robot container added
[ta/cloudtaf.git] / resources / test_charts / php-apache / templates / php-apache-deployment.yml
1 apiVersion: apps/v1
2 kind: Deployment
3 metadata:
4   name: php-apache-deployment
5 spec:
6   replicas: 1
7   selector:
8     matchLabels:
9       app: php-apache
10   template: 
11     metadata:
12       labels:
13         app: php-apache
14       annotations:
15         danm.k8s.io/interfaces: |
16           [
17              {
18                 "tenantnetwork":"default"
19              }
20           ]
21     spec:
22       nodeSelector:
23         nodetype: caas_master
24       containers:
25       - name: php-apache
26         image: {{ .Values.registry_url }}:5555/caas/php-apache:latest
27         resources:
28           limits:
29             cpu: "0.2"
30             memory: "64Mi"
31           requests:
32             cpu: "0.2"
33             memory: "64Mi"
34