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: |
Hyunsun Moon | ec0b44d | 2020-01-10 15:50:53 -0700 | [diff] [blame] | 41 | coreDump: |
| 42 | enabled: false |
| 43 | path: /tmp/coredump |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 44 | sriov: |
| 45 | enabled: true |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 46 | spgwu: |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 47 | # Provide the S1U and SGI networks facing device name and IP address |
| 48 | s1u: |
| 49 | device: s1u-net |
Hyunsun Moon | 9d067b5 | 2020-01-30 15:42:22 -0800 | [diff] [blame] | 50 | ip: 192.168.251.3/24 |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 51 | sgi: |
| 52 | device: sgi-net |
Hyunsun Moon | 9d067b5 | 2020-01-30 15:42:22 -0800 | [diff] [blame] | 53 | ip: 192.168.250.3/24 |
Hyunsun Moon | 834c28f | 2019-12-05 18:26:22 -0800 | [diff] [blame] | 54 | # Note that zmq is used for cp-dp commmunication when multiple UPFs is set |
| 55 | # Otherwise, direct UDP communication is used |
| 56 | # TODO: unify cp-dp comm to ZMQ for both multi and single UPF scenario |
Hyunsun Moon | e921572 | 2020-01-09 15:35:02 -0700 | [diff] [blame] | 57 | multiUpfs: false |
Hyunsun Moon | c4a7d54 | 2019-08-22 18:53:40 -0500 | [diff] [blame] | 58 | cpComm: |
| 59 | # IMPORTANT: when you deploy CP and DP to separate clusters, enable nodePort |
| 60 | # from both cpComm(omec-control-plane) and dpComm(omec-data-plane) and |
| 61 | # set "addr" to remote cluster's entry node IP and |
| 62 | # "port" to cpComm.nodePort.port value configured in omec-control-plane. |
Hyunsun Moon | 834c28f | 2019-12-05 18:26:22 -0800 | [diff] [blame] | 63 | addr: spgwc |
Hyunsun Moon | c4a7d54 | 2019-08-22 18:53:40 -0500 | [diff] [blame] | 64 | port: 21 |
| 65 | dpComm: |
| 66 | nodePort: |
| 67 | enabled: false |
| 68 | port: 30020 |
Hyunsun Moon | 834c28f | 2019-12-05 18:26:22 -0800 | [diff] [blame] | 69 | port: 20 |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 70 | # 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] | 71 | # when sriov is disabled |
| 72 | devices: "" |
Woojoong Kim | 4866d75 | 2019-12-17 16:32:23 -0800 | [diff] [blame] | 73 | dpName: "dp1" |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 74 | |
| 75 | networks: |
| 76 | cniPlugin: vfioveth |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 77 | # Currently, we do not support dynamic IP allocation |
| 78 | ipam: static |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 79 | s1u: |
Hyunsun Moon | 9d067b5 | 2020-01-30 15:42:22 -0800 | [diff] [blame] | 80 | subnet: 192.168.251.0/24 |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 81 | mask: 255.255.255.0 |
Hyunsun Moon | 9d067b5 | 2020-01-30 15:42:22 -0800 | [diff] [blame] | 82 | gateway: 192.168.251.254 |
Hyunsun Moon | 7a007bb | 2019-08-19 16:41:36 -0600 | [diff] [blame] | 83 | sgi: |
Hyunsun Moon | 9d067b5 | 2020-01-30 15:42:22 -0800 | [diff] [blame] | 84 | subnet: 192.168.250.0/24 |
Hyunsun Moon | 7a921d1 | 2019-08-21 20:52:09 -0500 | [diff] [blame] | 85 | mask: 255.255.255.0 |
Hyunsun Moon | 9d067b5 | 2020-01-30 15:42:22 -0800 | [diff] [blame] | 86 | gateway: 192.168.250.250 |