blob: 0114aa3b9a75e9935e6555bf32589d63e58f9e8c [file] [log] [blame]
Jeremy Ronquillo11851d32020-06-08 15:13:08 -07001---
Jeremy Ronquilloec2d3e42020-06-05 11:33:39 -07002
Jeremy Ronquillo11851d32020-06-08 15:13:08 -07003# Copyright 2019-present Open Networking Foundation
4#
Jeremy Ronquilloec2d3e42020-06-05 11:33:39 -07005# SPDX-License-Identifier: Apache-2.0
6# SPDX-License-Identifier: LicenseRef-ONF-Member-Only
Jeremy Ronquillo11851d32020-06-08 15:13:08 -07007
8images:
9 tags:
10 nginx: docker.io/omecproject/cdn-nginx:1.0.0
11 pullPolicy: IfNotPresent
12
13nodeSelectors:
14 enabled: false
15 nginx:
16 label: nginx
17 value: enabled
18
19resources:
20 enabled: true
21 nginx:
22 requests:
23 cpu: 3
24 memory: 1Gi
25 limits:
26 cpu: 3
27 memory: 1Gi
28
29config:
30 sriov:
31 enabled: true # If you want to use Host Network, please unset this flag.
32 netDevice:
33 pfNames:
34 - eno2
35 drivers:
36 - ixgbevf
37 - i40evf
38 nginx:
39 ports:
40 rtmp: 1935
41 http: 8085
42 nodePorts:
43 enabled: true
44 rtmp: 31935
45 http: 31885
46 # In case sriov is enabled, additional interface connected to sgi-network directly will be added
47 # with the name and address specified below.
48 # Otherwise, specify the interface name connected to SGI network in the host machine.
49 # IP address will be ignored in that case.
50 sgiInterface:
51 name: sgi-net-cdn
52 mtu: 1200
53 ip: 192.168.250.249/24
54 events:
55 workerProcesses: 1
56 workerConnections: 1024
57 http:
58 defaultType: application/octet-stream
59 sendfile: "on"
60 keepaliveTimeout: 65
61 server:
62 serverName: localhost
63 location:
64 root: html
65 index: index.html index.htm
66 error:
67 code: 500 502 503 504
68 page: /50x.html
69 root: html
70 rtmp:
71 chunkSize: 4000
72 appRemote:
73 name: r
74 live: "on"
75 appLocal:
76 name: l
77 movieLocation: /opt/cdn/movies
78 replicas: 1
79 cdnRemotes:
80 - name: remote-1
81 ip: 10.90.0.131
82 port: 30935
83 streams:
84 - name: 360p
85 value: 360
86 - name: 480p
87 value: 480
88 - name: 720p
89 value: 720
90# - name: CDN-Remote-2
91# ip: 10.90.0.151
92# port: 30935
93# streams:
94# - name: 360p
95# value: 360
96# - name: 480p
97# value: 480
98# - name: 720p
99# value: 720
100
101networks:
102 cniPlugin: sriov # which means netdevice
103 ipam: static
104 sgi:
105 subnet: 192.168.250.0/24
106 mask: 255.255.255.0
107 gateway: 192.168.250.250
108 ue:
109 subnet: 10.250.0.0/16