robot tcs, test charts, robot container added
[ta/cloudtaf.git] / resources / test_charts / danmnet-pods8 / templates / danmnet-pods8_1.yaml
1 apiVersion: apps/v1
2 kind: Deployment
3 metadata:
4   name: danmnet-pods8-1
5   namespace: default
6 spec:
7   replicas: 1
8   selector:
9     matchLabels:
10       name: danmnet-pods8-1
11       app: alpine
12   template:
13     metadata:
14       labels:
15         name: danmnet-pods8-1
16         app: alpine
17       annotations:
18         danm.k8s.io/interfaces: |
19           [
20             {
21               "clusterNetwork":"cnet-pod4", "ip":"10.244.100.100/24"
22             }
23           ]
24     spec:
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", "sh", "-c", "--"]
30         args: ["echo -e 'HTTP/1.0 200 OK \n\nOK'>/tmp/temp; nc -l -p 4242 < /tmp/temp; sleep 6000"]