Woojoong Kim | 2ccf324 | 2019-06-06 14:12:44 -0700 | [diff] [blame] | 1 | --- |
| 2 | # Copyright 2019-present Open Networking Foundation |
| 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 | |
Woojoong Kim | 9bcff46 | 2019-09-19 12:59:01 -0700 | [diff] [blame] | 16 | images: |
| 17 | tags: |
| 18 | nginx: docker.io/omecproject/cdn-nginx:1.0.0 |
| 19 | pullPolicy: IfNotPresent |
Woojoong Kim | 2ccf324 | 2019-06-06 14:12:44 -0700 | [diff] [blame] | 20 | |
Woojoong Kim | 9bcff46 | 2019-09-19 12:59:01 -0700 | [diff] [blame] | 21 | nodeSelectors: |
| 22 | enabled: false |
| 23 | nginx: |
| 24 | label: nginx |
| 25 | value: enabled |
| 26 | |
| 27 | resources: |
| 28 | enabled: true |
| 29 | nginx: |
| 30 | requests: |
| 31 | cpu: 3 |
| 32 | memory: 1Gi |
| 33 | limits: |
| 34 | cpu: 3 |
| 35 | memory: 1Gi |
| 36 | |
| 37 | config: |
| 38 | sriov: |
| 39 | enabled: true # default value. Do not use here as false now. |
| 40 | netDevice: |
| 41 | pfNames: |
| 42 | - eno2 |
| 43 | drivers: |
| 44 | - ixgbevf |
| 45 | - i40evf |
| 46 | nginx: |
| 47 | ports: |
| 48 | rtmp: 1935 |
| 49 | http: 8085 |
| 50 | nodePorts: |
| 51 | enabled: true |
| 52 | rtmp: 31935 |
| 53 | http: 31885 |
| 54 | sgi: |
| 55 | device: sgi-net-cdn |
| 56 | ip: 13.1.1.253/24 |
| 57 | mtu: 1200 |
| 58 | events: |
| 59 | workerProcesses: 1 |
| 60 | workerConnections: 1024 |
| 61 | http: |
| 62 | defaultType: application/octet-stream |
| 63 | sendfile: "on" |
| 64 | keepaliveTimeout: 65 |
| 65 | server: |
| 66 | serverName: localhost |
| 67 | location: |
| 68 | root: html |
| 69 | index: index.html index.htm |
| 70 | error: |
| 71 | code: 500 502 503 504 |
| 72 | page: /50x.html |
| 73 | root: html |
| 74 | rtmp: |
| 75 | chunkSize: 4000 |
| 76 | appRemote: |
| 77 | name: r |
| 78 | live: "on" |
| 79 | appLocal: |
| 80 | name: l |
| 81 | movieLocation: /opt/cdn/movies |
| 82 | replicas: 1 |
| 83 | cdnRemotes: |
| 84 | - name: remote-1 |
| 85 | ip: 10.90.0.131 |
| 86 | port: 30935 |
| 87 | streams: |
| 88 | - name: 360p |
| 89 | value: 360 |
| 90 | - name: 480p |
| 91 | value: 480 |
| 92 | - name: 720p |
| 93 | value: 720 |
| 94 | # - name: CDN-Remote-2 |
| 95 | # ip: 10.90.0.151 |
| 96 | # port: 30935 |
| 97 | # streams: |
| 98 | # - name: 360p |
| 99 | # value: 360 |
| 100 | # - name: 480p |
| 101 | # value: 480 |
| 102 | # - name: 720p |
| 103 | # value: 720 |
| 104 | spgwu: |
| 105 | sgi: |
| 106 | ip: 13.1.1.3/24 |
| 107 | spgwc: |
| 108 | ueIpPool: |
| 109 | ip: 16.0.0.0 |
| 110 | mask: 255.0.0.0 |
Woojoong Kim | e455aab | 2019-07-12 10:53:43 -0700 | [diff] [blame] | 111 | |
Hyunsun Moon | 1118903 | 2019-08-29 02:02:33 +0000 | [diff] [blame] | 112 | networks: |
Woojoong Kim | 9bcff46 | 2019-09-19 12:59:01 -0700 | [diff] [blame] | 113 | cniPlugin: sriov # which means netdevice |
| 114 | ipam: static |
| 115 | sgi: |
Hyunsun Moon | 1118903 | 2019-08-29 02:02:33 +0000 | [diff] [blame] | 116 | subnet: 13.1.1.0/24 |
Woojoong Kim | 9bcff46 | 2019-09-19 12:59:01 -0700 | [diff] [blame] | 117 | mask: 255.255.255.0 |
Hyunsun Moon | 1118903 | 2019-08-29 02:02:33 +0000 | [diff] [blame] | 118 | gateway: 13.1.1.254 |