robot tcs, test charts, robot container added
[ta/cloudtaf.git] / resources / test_charts / cpu-pooling-default2 / templates / cpupooling-deployment8.yaml
1 apiVersion: apps/v1
2 kind: Deployment
3 metadata:
4   name: cpu-pooling-8
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       annotations:
16         nokia.k8s.io/cpus: |
17           [{
18             "container": "cpu-pooling",
19             "processes":
20               [{
21                 "process": "/usr/bin/dumb-init",
22                 "args": ["-c", "sleep", "1000"],
23                 "pool": "default",
24                 "cpus": {{ .Values.proc_req }}
25               }]
26           }]
27     spec:
28       containers:
29       - name: cpu-pooling
30         image: {{ .Values.registry_url }}:5555/caas/alpine_test:latest
31         imagePullPolicy: IfNotPresent
32         command: ["/usr/bin/dumb-init", "-c", "--"]
33         args: ["sleep", "6000"]
34         resources:
35           requests:
36             nokia.k8s.io/default: {{ .Values.pool_req }}
37           limits:
38             nokia.k8s.io/default: {{ .Values.pool_req }}