blob: cf80731a583666a16f2cd268f7e39e909d5f4d16 [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
Woojoong Kim65271352019-09-20 13:58:08 -070056 netDevice:
57 pfNames:
58 - eno1
59 drivers:
60 - i40evf
61 - ixgbevf
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060062 spgwu:
Hyunsun Moon7a921d12019-08-21 20:52:09 -050063 # Provide the S1U and SGI networks facing device name and IP address
64 s1u:
65 device: s1u-net
66 ip: 119.0.0.3/24
67 sgi:
68 device: sgi-net
69 ip: 13.1.1.3/24
Hyunsun Moonc4a7d542019-08-22 18:53:40 -050070 cpComm:
71 # IMPORTANT: when you deploy CP and DP to separate clusters, enable nodePort
72 # from both cpComm(omec-control-plane) and dpComm(omec-data-plane) and
73 # set "addr" to remote cluster's entry node IP and
74 # "port" to cpComm.nodePort.port value configured in omec-control-plane.
Hyunsun Moon16d70922019-08-25 04:57:25 -050075 addr: spgwc-cp-comm
Hyunsun Moonc4a7d542019-08-22 18:53:40 -050076 port: 21
77 dpComm:
78 nodePort:
79 enabled: false
80 port: 30020
Hyunsun Moon7a921d12019-08-21 20:52:09 -050081 # Set "--no-pci --vdev eth_af_packet0,iface=s1u-net --vdev eth_af_packet1,iface=sgi-net"
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060082 # when sriov is disabled
83 devices: ""
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060084
85networks:
86 cniPlugin: vfioveth
Hyunsun Moon7a921d12019-08-21 20:52:09 -050087 # Currently, we do not support dynamic IP allocation
88 ipam: static
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060089 s1u:
90 subnet: 119.0.0.0/24
Hyunsun Moon7a921d12019-08-21 20:52:09 -050091 mask: 255.255.255.0
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060092 gateway: 119.0.0.254
93 sgi:
94 subnet: 13.1.1.0/24
Hyunsun Moon7a921d12019-08-21 20:52:09 -050095 mask: 255.255.255.0
Hyunsun Moon7a007bb2019-08-19 16:41:36 -060096 gateway: 13.1.1.254