Charles Chan | e1e5e62 | 2022-02-16 15:17:05 -0800 | [diff] [blame] | 1 | # Copyright 2020-present Open Networking Foundation |
| 2 | # |
| 3 | # SPDX-License-Identifier: Apache-2.0 |
| 4 | |
| 5 | images: |
| 6 | tags: |
Ajay Lotan Thakur | fbd1eb9 | 2022-10-07 22:38:07 -0600 | [diff] [blame] | 7 | bess: "omecproject/upf-epc-bess:master-5786085" |
| 8 | pfcpiface: "omecproject/upf-epc-pfcpiface:master-5786085" |
Charles Chan | e1e5e62 | 2022-02-16 15:17:05 -0800 | [diff] [blame] | 9 | tools: registry.aetherproject.org/tools/busybox:stable |
| 10 | pullPolicy: IfNotPresent |
| 11 | # Secrets must be manually created in the namespace. |
| 12 | pullSecrets: |
| 13 | - name: aether.registry |
| 14 | |
| 15 | nodeSelectors: |
| 16 | enabled: false |
| 17 | upf: |
| 18 | label: node-role.aetherproject.org |
| 19 | value: omec-upf |
| 20 | |
| 21 | resources: |
| 22 | enabled: true |
| 23 | bess: |
| 24 | requests: |
| 25 | cpu: 2 |
Hyunsun Moon | c1a5e80 | 2022-03-04 10:45:14 -0800 | [diff] [blame] | 26 | memory: 1Gi |
Charles Chan | e1e5e62 | 2022-02-16 15:17:05 -0800 | [diff] [blame] | 27 | limits: |
| 28 | cpu: 2 |
Hyunsun Moon | c1a5e80 | 2022-03-04 10:45:14 -0800 | [diff] [blame] | 29 | memory: 1Gi |
Charles Chan | e1e5e62 | 2022-02-16 15:17:05 -0800 | [diff] [blame] | 30 | routectl: |
| 31 | requests: |
| 32 | cpu: 256m |
| 33 | memory: 128Mi |
| 34 | limits: |
| 35 | cpu: 256m |
| 36 | memory: 128Mi |
| 37 | web: |
| 38 | requests: |
| 39 | cpu: 256m |
| 40 | memory: 128Mi |
| 41 | limits: |
| 42 | cpu: 256m |
| 43 | memory: 128Mi |
| 44 | cpiface: |
| 45 | requests: |
| 46 | cpu: 256m |
| 47 | memory: 128Mi |
| 48 | limits: |
| 49 | cpu: 256m |
| 50 | memory: 128Mi |
| 51 | |
| 52 | config: |
| 53 | coreDump: |
| 54 | enabled: false |
| 55 | path: /tmp/coredump |
| 56 | gratuitousArp: |
| 57 | enabled: true |
| 58 | interval: 10 # seconds |
| 59 | upf: |
| 60 | # Enable privileged when run from VM with sriov support |
| 61 | privileged: false |
Badhrinath Padmanabhan | b8505bc | 2022-11-30 12:21:05 -0700 | [diff] [blame] | 62 | prometheus: |
| 63 | port: 8080 |
| 64 | # Provide nodePort when serviceType is NodePort |
| 65 | #nodePort: 30088 |
Charles Chan | e1e5e62 | 2022-02-16 15:17:05 -0800 | [diff] [blame] | 66 | hugepage: |
| 67 | enabled: true |
| 68 | sriov: |
| 69 | enabled: true |
| 70 | # Dynamic IP allocation is not supported yet |
| 71 | ipam: static |
Hyunsun Moon | 318b3b1 | 2022-03-24 15:06:10 -0600 | [diff] [blame] | 72 | # Custom routes inside UPF |
| 73 | #routes: |
| 74 | # - to: 10.76.28.173/32 |
| 75 | # via: 169.254.1.1 |
Charles Chan | e1e5e62 | 2022-02-16 15:17:05 -0800 | [diff] [blame] | 76 | cniPlugin: vfioveth |
| 77 | enb: |
| 78 | subnet: 192.168.251.0/24 |
| 79 | access: |
| 80 | # Provide sriov resource name when sriov is enabled |
| 81 | resourceName: "intel.com/intel_sriov_vfio" |
| 82 | gateway: 192.168.252.1 |
| 83 | ip: 192.168.252.3/24 |
| 84 | #mac: |
| 85 | #vlan: |
| 86 | #iface: |
| 87 | core: |
| 88 | # Provide sriov resource name when sriov is enabled |
| 89 | resourceName: "intel.com/intel_sriov_vfio" |
| 90 | gateway: 192.168.250.1 |
| 91 | ip: 192.168.250.3/24 |
| 92 | #mac: |
| 93 | #vlan: |
| 94 | #iface: |
| 95 | cfgFiles: |
| 96 | upf.json: |
| 97 | mode: dpdk |
| 98 | workers: 1 |
| 99 | max_sessions: 50000 |
| 100 | table_sizes: |
| 101 | pdrLookup: 50000 |
| 102 | appQERLookup: 200000 |
| 103 | sessionQERLookup: 100000 |
| 104 | farLookup: 150000 |
| 105 | access: |
| 106 | ifname: access |
| 107 | core: |
| 108 | ifname: core |
| 109 | measure_upf: true |
Hyunsun Moon | 44825f0 | 2022-03-01 15:13:07 -0800 | [diff] [blame] | 110 | measure_flow: false |
Charles Chan | e1e5e62 | 2022-02-16 15:17:05 -0800 | [diff] [blame] | 111 | enable_notify_bess: true |
| 112 | notify_sockaddr: "/pod-share/notifycp" |
| 113 | cpiface: |
| 114 | dnn: "internet" |
| 115 | hostname: "upf" |
| 116 | http_port: "8080" |
| 117 | # Default global rate limits. Can be changed at runtime via BESS gRPC. |
| 118 | slice_rate_limit_config: |
| 119 | # Uplink |
| 120 | n6_bps: 1000000000 # 1Gbps |
| 121 | n6_burst_bytes: 12500000 # 10ms * 1Gbps |
| 122 | # Downlink |
| 123 | n3_bps: 1000000000 # 1Gbps |
| 124 | n3_burst_bytes: 12500000 # 10ms * 1Gbps |
| 125 | qci_qos_config: |
| 126 | - qci: 0 # Fallback QCI |
| 127 | cbs: 50000 |
| 128 | ebs: 50000 |
| 129 | pbs: 50000 |
| 130 | burst_duration_ms: 10 |
| 131 | priority: 7 |
| 132 | |
| 133 | service: |
| 134 | type: ClusterIP |
| 135 | #externalIp: |
| 136 | #annotations: |
| 137 | |
| 138 | servicemonitor: |
| 139 | enabled: false |
| 140 | |
| 141 | podsecuritypolicy: |
| 142 | enabled: false |