blob: 558600bc71862464b3dc2feedd54bf0762fe0414 [file] [log] [blame]
Woojoong Kim2ccf3242019-06-06 14:12:44 -07001---
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 Kim9bcff462019-09-19 12:59:01 -070016images:
17 tags:
18 nginx: docker.io/omecproject/cdn-nginx:1.0.0
19 pullPolicy: IfNotPresent
Woojoong Kim2ccf3242019-06-06 14:12:44 -070020
Woojoong Kim9bcff462019-09-19 12:59:01 -070021nodeSelectors:
22 enabled: false
23 nginx:
24 label: nginx
25 value: enabled
26
27resources:
28 enabled: true
29 nginx:
30 requests:
31 cpu: 3
32 memory: 1Gi
33 limits:
34 cpu: 3
35 memory: 1Gi
36
37config:
38 sriov:
Woojoong Kim231956c2019-10-14 18:25:51 -070039 enabled: true # If you want to use Host Network, please unset this flag.
Woojoong Kim9bcff462019-09-19 12:59:01 -070040 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
Hyunsun Moon7f23b2d2020-02-02 14:23:28 -080054 # In case sriov is enabled, additional interface connected to sgi-network directly will be added
55 # with the name and address specified below.
56 # Otherwise, specify the interface name connected to SGI network in the host machine.
57 # IP address will be ignored in that case.
58 sgiInterface:
59 name: sgi-net-cdn
60 mtu: 1200
61 ip: 192.168.250.249/24
Woojoong Kim9bcff462019-09-19 12:59:01 -070062 events:
63 workerProcesses: 1
64 workerConnections: 1024
65 http:
66 defaultType: application/octet-stream
67 sendfile: "on"
68 keepaliveTimeout: 65
69 server:
70 serverName: localhost
71 location:
72 root: html
73 index: index.html index.htm
74 error:
75 code: 500 502 503 504
76 page: /50x.html
77 root: html
78 rtmp:
79 chunkSize: 4000
80 appRemote:
81 name: r
82 live: "on"
83 appLocal:
84 name: l
85 movieLocation: /opt/cdn/movies
86 replicas: 1
87 cdnRemotes:
88 - name: remote-1
89 ip: 10.90.0.131
90 port: 30935
91 streams:
92 - name: 360p
93 value: 360
94 - name: 480p
95 value: 480
96 - name: 720p
97 value: 720
98# - name: CDN-Remote-2
99# ip: 10.90.0.151
100# port: 30935
101# streams:
102# - name: 360p
103# value: 360
104# - name: 480p
105# value: 480
106# - name: 720p
107# value: 720
Woojoong Kime455aab2019-07-12 10:53:43 -0700108
Hyunsun Moon11189032019-08-29 02:02:33 +0000109networks:
Woojoong Kim9bcff462019-09-19 12:59:01 -0700110 cniPlugin: sriov # which means netdevice
111 ipam: static
112 sgi:
Hyunsun Moon7f23b2d2020-02-02 14:23:28 -0800113 subnet: 192.168.250.0/24
Woojoong Kim9bcff462019-09-19 12:59:01 -0700114 mask: 255.255.255.0
Hyunsun Moon7f23b2d2020-02-02 14:23:28 -0800115 gateway: 192.168.250.250
116 ue:
117 subnet: 10.250.0.0/16