-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oryx Helm chart impl nginx-hls-cdn #5
Draft
suzp1984
wants to merge
11
commits into
ossrs:main
Choose a base branch
from
suzp1984:feature/oryx-nginx-cache-hls
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains 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
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.m3u8
How to do benchmark in your local pc?
the
trunk/doc/source.flv
is the test video source located at srsthe
secret token
is 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 pod
andkubectl top node