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