Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 1 | # 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 | |
| 16 | images: |
| 17 | tags: |
Hyunsun Moon | 8ee7f48 | 2019-08-29 13:57:27 -0500 | [diff] [blame] | 18 | init: docker.io/omecproject/pod-init:1.0.0 |
| 19 | omecCni: docker.io/omecproject/omec-cni:1.0.0 |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 20 | sriovDp: docker.io/nfvpe/sriov-device-plugin:v3.0.0 |
Hyunsun Moon | 8ee7f48 | 2019-08-29 13:57:27 -0500 | [diff] [blame] | 21 | spgwu: docker.io/omecproject/ngic-dp:1.0.0 |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 22 | depCheck: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1 |
| 23 | pullPolicy: IfNotPresent |
| 24 | |
| 25 | nodeSelectors: |
| 26 | enabled: false |
| 27 | spgwu: |
| 28 | label: omec-dp |
| 29 | value: enabled |
| 30 | |
| 31 | resources: |
| 32 | enabled: true |
| 33 | spgwu: |
| 34 | requests: |
| 35 | cpu: 4 |
| 36 | memory: 8Gi |
| 37 | limits: |
| 38 | cpu: 4 |
| 39 | memory: 8Gi |
| 40 | |
| 41 | config: |
| 42 | sriov: |
| 43 | enabled: true |
Hyunsun Moon | c4a7d54 | 2019-08-22 18:53:40 -0500 | [diff] [blame] | 44 | # 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 Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 47 | resourceList: |
Hyunsun Moon | c4a7d54 | 2019-08-22 18:53:40 -0500 | [diff] [blame] | 48 | # 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 Kim | 6527135 | 2019-09-20 13:58:08 -0700 | [diff] [blame] | 56 | netDevice: |
| 57 | pfNames: |
| 58 | - eno1 |
| 59 | drivers: |
| 60 | - i40evf |
| 61 | - ixgbevf |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 62 | spgwu: |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 63 | # 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 Moon | c4a7d54 | 2019-08-22 18:53:40 -0500 | [diff] [blame] | 70 | 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 Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 75 | addr: spgwc-cp-comm |
Hyunsun Moon | c4a7d54 | 2019-08-22 18:53:40 -0500 | [diff] [blame] | 76 | port: 21 |
| 77 | dpComm: |
| 78 | nodePort: |
| 79 | enabled: false |
| 80 | port: 30020 |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 81 | # Set "--no-pci --vdev eth_af_packet0,iface=s1u-net --vdev eth_af_packet1,iface=sgi-net" |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 82 | # when sriov is disabled |
| 83 | devices: "" |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 84 | |
| 85 | networks: |
| 86 | cniPlugin: vfioveth |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 87 | # Currently, we do not support dynamic IP allocation |
| 88 | ipam: static |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 89 | s1u: |
| 90 | subnet: 119.0.0.0/24 |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 91 | mask: 255.255.255.0 |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 92 | gateway: 119.0.0.254 |
| 93 | sgi: |
| 94 | subnet: 13.1.1.0/24 |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 95 | mask: 255.255.255.0 |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 96 | gateway: 13.1.1.254 |