robot tcs, test charts, robot container added
[ta/cloudtaf.git] / resources / test_charts / cpu-pooling-default1 / templates / cpupooling-deployment7.yaml
1 apiVersion: apps/v1
2 kind: Deployment
3 metadata:
4   name: cpu-pooling-7
5   namespace: default
6 spec:
7   replicas: {{ .Values.replicas }}
8   selector:
9     matchLabels:
10       app: cpu-pooling
11   template:
12     metadata:
13       labels:
14         app: cpu-pooling
15     spec:
16       containers:
17       - name: cpu-pooling
18         image: {{ .Values.registry_url }}:5555/caas/alpine_test:latest
19         imagePullPolicy: IfNotPresent
20         command: ["/usr/bin/dumb-init", "-c", "--"]
21         args: ["sleep", "1000"]
22         resources:
23           requests:
24             memory: {{ .Values.mem_request }}
25             cpu: {{ .Values.cpu_request }}
26           limits:
27             memory: {{ .Values.mem_limit }}
28             cpu: {{ .Values.cpu_limit }}
29       nodeSelector:
30         nodename: {{ .Values.nodename }}