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: |
| 18 | init: docker.io/omecproject/pod-init:0.1.0-dev |
| 19 | omecCni: docker.io/omecproject/omec-cni:0.0.1 |
| 20 | sriovDp: docker.io/nfvpe/sriov-device-plugin:v3.0.0 |
| 21 | spgwu: docker.io/omecproject/ngic-dp:0.1.0-dev |
| 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 |
| 44 | resourceList: |
| 45 | - resourceName: sriov_vfio |
| 46 | selectors: |
| 47 | pfNames: |
| 48 | - eno1 |
| 49 | drivers: |
| 50 | - vfio-pci |
| 51 | - resourceName: sriov_netdevice |
| 52 | selectors: |
| 53 | pfNames: |
| 54 | - eno1 |
| 55 | drivers: |
| 56 | - ixgbevf |
| 57 | spgwu: |
| 58 | spgwc: |
| 59 | addr: spgwc |
| 60 | port: 21 |
| 61 | # s1u and sgi interfaces are fixed to "s1u-net" and "sgi-net" |
| 62 | # Note that s1uAfDev and sgiAfDev are valid only when sriov is disabled |
| 63 | # setup-af-iface.sh script creates additional veth pair with the names here |
| 64 | s1uAfDev: s1u-veth |
| 65 | sgiAfDev: sgi-veth |
| 66 | # set "--no-pci --vdev eth_af_packet0,iface=s1u-net --vdev eth_af_packet1,iface=sgi-net" |
| 67 | # when sriov is disabled |
| 68 | devices: "" |
| 69 | rtrSgiIp: 13.1.1.254 |
| 70 | sgiMask: 255.255.255.0 |
| 71 | |
| 72 | networks: |
| 73 | cniPlugin: vfioveth |
| 74 | ipam: centralip |
| 75 | # etcdurl is required only when centralip IPAM is used |
| 76 | etcdurl: http://localhost:32379 |
| 77 | s1u: |
| 78 | subnet: 119.0.0.0/24 |
| 79 | gateway: 119.0.0.254 |
| 80 | sgi: |
| 81 | subnet: 13.1.1.0/24 |
| 82 | gateway: 13.1.1.254 |