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 |
| 56 | #netDevice: |
| 57 | # pfNames: |
| 58 | # - eno2 |
| 59 | # drivers: |
| 60 | # - ixgbevf |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 61 | spgwu: |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 62 | # 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 Moon | c4a7d54 | 2019-08-22 18:53:40 -0500 | [diff] [blame] | 69 | 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 Moon | 16d7092 | 2019-08-25 04:57:25 -0500 | [diff] [blame] | 74 | addr: spgwc-cp-comm |
Hyunsun Moon | c4a7d54 | 2019-08-22 18:53:40 -0500 | [diff] [blame] | 75 | port: 21 |
| 76 | dpComm: |
| 77 | nodePort: |
| 78 | enabled: false |
| 79 | port: 30020 |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 80 | # 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] | 81 | # when sriov is disabled |
| 82 | devices: "" |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 83 | |
| 84 | networks: |
| 85 | cniPlugin: vfioveth |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 86 | # Currently, we do not support dynamic IP allocation |
| 87 | ipam: static |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 88 | s1u: |
| 89 | subnet: 119.0.0.0/24 |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 90 | mask: 255.255.255.0 |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 91 | gateway: 119.0.0.254 |
| 92 | sgi: |
| 93 | subnet: 13.1.1.0/24 |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 94 | mask: 255.255.255.0 |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 95 | gateway: 13.1.1.254 |