This repository was archived by the owner on Aug 18, 2026. It is now read-only.
Oryx Helm chart impl nginx-hls-cdn - #5
Draft
suzp1984 wants to merge 11 commits into
Draft
Conversation
suzp1984
force-pushed
the
feature/oryx-nginx-cache-hls
branch
from
July 20, 2024 07:46
d3d77fd to
e3ff597
Compare
1. use ENV to get service ip address; 2. let http cache path configurable;
The container port is not configurable, it must be 80 for default nginx server. Ingress don't compatible with multi service with port 80;
1. fix storageClassName not exit bug, let it configurable. 2. accessModes set to ReadWriteMany. 3. PVC add volumeName: bind PVC with the PV. 4. PV and PVC rename: srs-pv -> oryx-pv.
suzp1984
force-pushed
the
feature/oryx-nginx-cache-hls
branch
from
August 28, 2024 14:44
aae0ce8 to
59c3e1e
Compare
suzp1984
force-pushed
the
feature/oryx-nginx-cache-hls
branch
from
August 28, 2024 14:53
59c3e1e to
9b03101
Compare
suzp1984
force-pushed
the
feature/oryx-nginx-cache-hls
branch
from
September 2, 2024 01:43
e281ab5 to
514fa08
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
ref https://github.com/ossrs/oryx/tree/main/scripts/nginx-hls-cdn#nginx-hls-cdn
The commit is the k8s helm chart implementation of nginx-hls-cdn. Inside a k8s cluster, deploy a oryx pod and a autoscale nginx pods that provide hls server to the frontend.
How to Install
kubectl get pods, and k8s services bykubectl get services;http://localhost:2080/mgmt/(replace the localhost with the k8s service ip);kubectl get services) e.g.ffplay -i http://127.0.0.1/live/livestream.m3u8How to do benchmark in your local pc?
the
trunk/doc/source.flvis the test video source located at srsthe
secret tokenis come from theoryx, check the oryx web UI.There is a k8s job to run this script in the cloud for the testing purpose.
https://gist.github.com/suzp1984/cc7d21e00b142c6f83a28d709b9954d3
kubectl top podandkubectl top node