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