robot tcs, test charts, robot container added
[ta/cloudtaf.git] / resources / test_charts / danmnet-pods1 / templates / danmnet-pods1-1.yaml
1 apiVersion: apps/v1
2 kind: Deployment
3 metadata:
4   name: danmnet-pods1-1
5   namespace: default
6 spec:
7   replicas: 1
8   selector:
9     matchLabels:
10       app: alpine
11   template:
12     metadata:
13       labels:
14         app: alpine
15       annotations:
16         danm.k8s.io/interfaces: |
17           [
18             {
19               "clusterNetwork":"cnet-pod1", "ip":"10.5.1.11/16"
20             }
21           ]
22     spec:
23       nodeSelector:
24         nodename: caas_master1
25       containers:
26       - name: alpine
27         image: {{ .Values.registry_url }}:5555/caas/alpine_test:latest
28         imagePullPolicy: IfNotPresent
29         command: ["/usr/bin/dumb-init", "-c", "--"]
30         args: ["sleep", "6000"]