blob: 28c26239543bc1146f439bae9f74d74e92e8e201 [file] [log] [blame]
sslobodra3ea7d42019-01-16 15:03:16 -05001# Copyright 2018 the original author or authors.
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7# http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15apiVersion: v1
16kind: Pod
17metadata:
18 name: afrouter
19 namespace: voltha
20 labels:
21 app: afrouter
22 annotations:
23 cni: "calico"
24spec:
25 containers:
26 - name: arouter
27 image: volthacore/afrouter:testing
28 imagePullPolicy: Always
29 volumeMounts:
30 - name: config-volume
31 mountPath: /app/config
32 ports:
33 - containerPort: 55555
34 command: ["/app/afrouter"]
35 args: ["-config", "/app/config/arouter.voltha3.json"]
36 - name: envoy
37 image: volthacore/envoy
38 volumeMounts:
39 - name: config-volume
40 mountPath: /envoy/config
41 ports:
42 - containerPort: 8192
43 - containerPort: 50555
44 - name: arouterd
45 image: volthacore/afrouterd:testing
46 command: ["/app/arouterd"]
47 imagePullPolicy: Always
48 restartPolicy: Never
49 volumes:
50 - name: config-volume
51 configMap:
52 name: afrouter-config