Split container sections in report
[csit.git] / resources / templates / kubernetes / eth-1drcl2bdbasemaclrn-eth-2memif-1drcl2xc.yaml
1 ---
2 apiVersion: v1
3 kind: ConfigMap
4 metadata:
5   name: sfc-controller-cfg
6   namespace: csit
7 data:
8   etcd.conf:
9     insecure-transport: true
10     dial-timeout: 1000000000
11     endpoints:
12       - "172.17.0.1:22379"
13
14   sfc.conf:
15     sfc_controller_config_version: 1
16     description: $$TEST_NAME$$
17     host_entities:
18       - name: vswitch
19     sfc_entities:
20       - name: vswitch-vnf1
21         description: vswitch to VNF1 - memif
22         type: 3
23         elements:
24           - container: vswitch
25             port_label: $$VSWITCH_IF1$$
26             etcd_vpp_switch_key: vswitch
27             type: 5
28           - container: vnf1
29             port_label: port1
30             etcd_vpp_switch_key: vswitch
31             type: 2
32       - name: vnf1-vswitch
33         description: VNF1 to vswitch - memif
34         type: 3
35         elements:
36           - container: vswitch
37             port_label: $$VSWITCH_IF2$$
38             etcd_vpp_switch_key: vswitch
39             type: 5
40           - container: vnf1
41             port_label: port2
42             etcd_vpp_switch_key: vswitch
43             type: 2
44
45   vnf.conf:
46     vnf_plugin_config_version: 1
47     description: VNF config
48     vnf_entities:
49       - name: vnf1
50         container: vnf1
51         l2xconnects:
52           - port_labels:
53             - port1
54             - port2
55
56 ---
57 apiVersion: v1
58 kind: Pod
59 metadata:
60   name: sfc-controller
61   namespace: csit
62 spec:
63   containers:
64     - name: "sfc-controller"
65       image: prod_sfc_controller
66       imagePullPolicy: IfNotPresent
67       command:
68         - /bin/sfc-controller
69         - -etcdv3-config=/opt/sfc-controller/dev/etcd.conf
70         - -sfc-config=/opt/sfc-controller/dev/sfc.conf
71         - -vnf-config=/opt/sfc-controller/dev/vnf.conf
72       volumeMounts:
73         - name: controller-config
74           mountPath: /opt/sfc-controller/dev
75   volumes:
76     - name: controller-config
77       configMap:
78         name: sfc-controller-cfg
79 ---
80 apiVersion: v1
81 kind: ConfigMap
82 metadata:
83   name: vswitch-agent-cfg
84   namespace: csit
85 data:
86   etcd.conf:
87     insecure-transport: true
88     dial-timeout: 1000000000
89     endpoints:
90       - "172.17.0.1:22379"
91
92   kafka.conf:
93     addrs:
94       - "172.17.0.1:9092"
95
96 ---
97 apiVersion: v1
98 kind: Pod
99 metadata:
100   name: vswitch-vpp
101   namespace: csit
102 spec:
103   hostNetwork: true
104   containers:
105     - name: "vswitch"
106       image: prod_vpp_agent_shrink
107       imagePullPolicy: IfNotPresent
108       securityContext:
109         privileged: true
110       ports:
111         - containerPort: 5002
112         - containerPort: 9191
113       readinessProbe:
114         httpGet:
115           path: /readiness
116           port: 9191
117         periodSeconds: 1
118       livenessProbe:
119         httpGet:
120           path: /liveness
121           port: 9191
122         periodSeconds: 1
123         initialDelaySeconds: 15
124       env:
125         - name: MICROSERVICE_LABEL
126           value: vswitch
127       volumeMounts:
128         - name: vpp-config
129           mountPath: /etc/vpp
130         - name: agent-config
131           mountPath: /opt/vpp-agent/dev
132         - name: memif-sockets
133           mountPath: /tmp
134   volumes:
135     - name: vpp-config
136       configMap:
137         name: vswitch-vpp-cfg
138     - name: agent-config
139       configMap:
140         name: vswitch-agent-cfg
141     - name: memif-sockets
142       hostPath:
143         path: /tmp
144 ---
145 apiVersion: v1
146 kind: ConfigMap
147 metadata:
148   name: vnf-agent-cfg
149   namespace: csit
150 data:
151   etcd.conf:
152     insecure-transport: true
153     dial-timeout: 1000000000
154     endpoints:
155       - "172.17.0.1:22379"
156
157   kafka.conf:
158     addrs:
159       - "172.17.0.1:9092"
160
161 ---
162 apiVersion: v1
163 kind: Pod
164 metadata:
165   name: vnf-vpp
166   namespace: csit
167 spec:
168   containers:
169     - name: "vnf"
170       image: prod_vpp_agent_shrink
171       imagePullPolicy: IfNotPresent
172       securityContext:
173         privileged: true
174       ports:
175         - containerPort: 5002
176         - containerPort: 9191
177       readinessProbe:
178         httpGet:
179           path: /readiness
180           port: 9191
181         periodSeconds: 1
182       livenessProbe:
183         httpGet:
184           path: /liveness
185           port: 9191
186         initialDelaySeconds: 15
187       env:
188         - name: MICROSERVICE_LABEL
189           value: vnf1
190       volumeMounts:
191         - name: vpp-config
192           mountPath: /etc/vpp
193         - name: agent-config
194           mountPath: /opt/vpp-agent/dev
195         - name: memif-sockets
196           mountPath: /tmp
197   volumes:
198   - name: vpp-config
199     configMap:
200       name: vnf-vpp-cfg
201   - name: agent-config
202     configMap:
203       name: vnf-agent-cfg
204   - name: memif-sockets
205     hostPath:
206       path: /tmp

©2016 FD.io a Linux Foundation Collaborative Project. All Rights Reserved.
Linux Foundation is a registered trademark of The Linux Foundation. Linux is a registered trademark of Linus Torvalds.
Please see our privacy policy and terms of use.