blob: bed79a41a6fa3ffffa1022165f332b91b99a1ec1 [file] [log] [blame]
Hyunsun Moon7a007bb2019-08-19 16:41:36 -06001# Copyright 2018-present Open Networking Foundation
2# Copyright 2018 Intel Corporation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16images:
17 tags:
Hyunsun Moon8ee7f482019-08-29 13:57:27 -050018 init: docker.io/omecproject/pod-init:1.0.0
19 omecCni: docker.io/omecproject/omec-cni:1.0.0
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060020 sriovDp: docker.io/nfvpe/sriov-device-plugin:v3.0.0
Hyunsun Moon8ee7f482019-08-29 13:57:27 -050021 spgwu: docker.io/omecproject/ngic-dp:1.0.0
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060022 depCheck: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1
23 pullPolicy: IfNotPresent
24
25nodeSelectors:
26 enabled: false
27 spgwu:
28 label: omec-dp
29 value: enabled
30
31resources:
32 enabled: true
33 spgwu:
34 requests:
35 cpu: 4
36 memory: 8Gi
37 limits:
38 cpu: 4
39 memory: 8Gi
40
41config:
42 sriov:
43 enabled: true
Hyunsun Moonc4a7d542019-08-22 18:53:40 -050044 # Provide interface used as a SR-IOV PF
45 # If your cluster has multiple nodes with different interface names,
46 # simply provide the whole list
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060047 resourceList:
Hyunsun Moonc4a7d542019-08-22 18:53:40 -050048 # Provide PF name with its VFs are bounded to vfio-pci driver
49 vfio:
50 pfNames:
51 - eno1
52 # Provide PF name with its VFs bounded to PF's driver
53 # The driver name must be specified to prevent one interface is
54 # registered to both vfio and netdevice resource pools
55 # NOTE: netDevice is required to use CDN service
56 #netDevice:
57 # pfNames:
58 # - eno2
59 # drivers:
60 # - ixgbevf
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060061 spgwu:
Hyunsun Moon7a921d12019-08-21 20:52:09 -050062 # Provide the S1U and SGI networks facing device name and IP address
63 s1u:
64 device: s1u-net
65 ip: 119.0.0.3/24
66 sgi:
67 device: sgi-net
68 ip: 13.1.1.3/24
Hyunsun Moonc4a7d542019-08-22 18:53:40 -050069 cpComm:
70 # IMPORTANT: when you deploy CP and DP to separate clusters, enable nodePort
71 # from both cpComm(omec-control-plane) and dpComm(omec-data-plane) and
72 # set "addr" to remote cluster's entry node IP and
73 # "port" to cpComm.nodePort.port value configured in omec-control-plane.
Hyunsun Moon16d70922019-08-25 04:57:25 -050074 addr: spgwc-cp-comm
Hyunsun Moonc4a7d542019-08-22 18:53:40 -050075 port: 21
76 dpComm:
77 nodePort:
78 enabled: false
79 port: 30020
Hyunsun Moon7a921d12019-08-21 20:52:09 -050080 # Set "--no-pci --vdev eth_af_packet0,iface=s1u-net --vdev eth_af_packet1,iface=sgi-net"
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060081 # when sriov is disabled
82 devices: ""
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060083
84networks:
85 cniPlugin: vfioveth
Hyunsun Moon7a921d12019-08-21 20:52:09 -050086 # Currently, we do not support dynamic IP allocation
87 ipam: static
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060088 s1u:
89 subnet: 119.0.0.0/24
Hyunsun Moon7a921d12019-08-21 20:52:09 -050090 mask: 255.255.255.0
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060091 gateway: 119.0.0.254
92 sgi:
93 subnet: 13.1.1.0/24
Hyunsun Moon7a921d12019-08-21 20:52:09 -050094 mask: 255.255.255.0
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060095 gateway: 13.1.1.254