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 | 8ee7f48 | 2019-08-29 13:57:27 -0500 | [diff] [blame] | 20 | spgwu: docker.io/omecproject/ngic-dp:1.0.0 |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 21 | depCheck: quay.io/stackanetes/kubernetes-entrypoint:v0.3.1 |
| 22 | pullPolicy: IfNotPresent |
| 23 | |
| 24 | nodeSelectors: |
| 25 | enabled: false |
| 26 | spgwu: |
| 27 | label: omec-dp |
| 28 | value: enabled |
| 29 | |
| 30 | resources: |
| 31 | enabled: true |
| 32 | spgwu: |
| 33 | requests: |
| 34 | cpu: 4 |
| 35 | memory: 8Gi |
| 36 | limits: |
| 37 | cpu: 4 |
| 38 | memory: 8Gi |
| 39 | |
| 40 | config: |
| 41 | sriov: |
| 42 | enabled: true |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 43 | spgwu: |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 44 | # Provide the S1U and SGI networks facing device name and IP address |
| 45 | s1u: |
| 46 | device: s1u-net |
| 47 | ip: 119.0.0.3/24 |
| 48 | sgi: |
| 49 | device: sgi-net |
| 50 | ip: 13.1.1.3/24 |
Hyunsun Moon | 834c28f | 2019-12-05 18:26:22 -0800 | [diff] [blame] | 51 | # Note that zmq is used for cp-dp commmunication when multiple UPFs is set |
| 52 | # Otherwise, direct UDP communication is used |
| 53 | # TODO: unify cp-dp comm to ZMQ for both multi and single UPF scenario |
| 54 | multiUpfs: true |
Hyunsun Moon | c4a7d54 | 2019-08-22 18:53:40 -0500 | [diff] [blame] | 55 | cpComm: |
| 56 | # IMPORTANT: when you deploy CP and DP to separate clusters, enable nodePort |
| 57 | # from both cpComm(omec-control-plane) and dpComm(omec-data-plane) and |
| 58 | # set "addr" to remote cluster's entry node IP and |
| 59 | # "port" to cpComm.nodePort.port value configured in omec-control-plane. |
Hyunsun Moon | 834c28f | 2019-12-05 18:26:22 -0800 | [diff] [blame] | 60 | addr: spgwc |
Hyunsun Moon | c4a7d54 | 2019-08-22 18:53:40 -0500 | [diff] [blame] | 61 | port: 21 |
| 62 | dpComm: |
| 63 | nodePort: |
| 64 | enabled: false |
| 65 | port: 30020 |
Hyunsun Moon | 834c28f | 2019-12-05 18:26:22 -0800 | [diff] [blame] | 66 | port: 20 |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 67 | # 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] | 68 | # when sriov is disabled |
| 69 | devices: "" |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 70 | |
| 71 | networks: |
| 72 | cniPlugin: vfioveth |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 73 | # Currently, we do not support dynamic IP allocation |
| 74 | ipam: static |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 75 | s1u: |
| 76 | subnet: 119.0.0.0/24 |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 77 | mask: 255.255.255.0 |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 78 | gateway: 119.0.0.254 |
| 79 | sgi: |
| 80 | subnet: 13.1.1.0/24 |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 81 | mask: 255.255.255.0 |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 82 | gateway: 13.1.1.254 |