robot tcs, test charts, robot container added
[ta/cloudtaf.git] / resources / test_charts / tenantnetwork-attach-pod8 / templates / tennet_pod_08.yaml
1 apiVersion: apps/v1
2 kind: Deployment
3 metadata:
4   name: tennet-pod-08
5   namespace: default
6 spec:
7   replicas: 1
8   selector:
9     matchLabels:
10       app: alpine
11   template:
12     metadata:
13       labels:
14         name: tennet-pod-08
15         app: alpine
16       annotations:
17         danm.k8s.io/interfaces: |
18           [
19             {
20               "tenantNetwork":"tennet-attach-04", "ip":"10.244.100.100/24"
21             }
22           ]
23     spec:
24       containers:
25       - name: alpine
26         image: {{ .Values.registry_url }}:5555/caas/alpine_test:latest
27         imagePullPolicy: IfNotPresent
28         command: ["/usr/bin/dumb-init", "-c", "sh", "-c", "--"]
29         args: ["echo -e 'HTTP/1.0 200 OK \n\nOK'>/tmp/temp; nc -l -p 4242 < /tmp/temp; sleep 6000"]