https://github.com/ossrs/srs-ack-template
Template repository for deploying SRS to ACK(Alibaba Cloud Container Service for Kubernetes)
https://github.com/ossrs/srs-ack-template
Last synced: 4 months ago
JSON representation
Template repository for deploying SRS to ACK(Alibaba Cloud Container Service for Kubernetes)
- Host: GitHub
- URL: https://github.com/ossrs/srs-ack-template
- Owner: ossrs
- License: mit
- Created: 2021-12-31T08:32:30.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-01-17T23:45:38.000Z (over 3 years ago)
- Last Synced: 2025-02-23T01:56:57.847Z (4 months ago)
- Homepage: https://discord.gg/yZ4BnPmHAd
- Size: 14.6 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# srs-ack-template

[](https://github.com/ossrs/srs-ack-template/actions/workflows/alibabacloud.yml)Template repository for deploying SRS to [ACK(Alibaba Cloud Container Service for Kubernetes)](https://www.alibabacloud.com/product/kubernetes).
## Usage
**Step 1:** Create ACK cluster and user:
1. Create a K8s cluster by [ACK](https://cs.console.aliyun.com), check by command `kubectl get namespace`
1. Create a new [RAM user](https://ram.console.aliyun.com/users), with access AliyunCSFullAccess
1. Click the ACK > Authorize > Modify Permissions to set user as Administrators.**Step 2:** Click the Use this template to create your repository, then set the [secrets](https://github.com/ossrs/srs-ack-template/settings/secrets/actions):
1. `ACCESS_KEY_ID` is the AccessKey ID of [RAM user](https://ram.console.aliyun.com/users).
1. `ACCESS_KEY_SECRET` is the AccessKey Secret of [RAM user](https://ram.console.aliyun.com/users).
1. `ACK_CLUSTER_ID` is the ACK K8s cluster ID at ACK > Basic Information.**Step 3:** Run Actions to deploy to your K8s, for example, if your external IP is `28.170.32.118`:
* Website is http://28.170.32.118:8080
* Publish RTMP to rtmp://28.170.32.118/live/livestream
* Play RTMP from rtmp://28.170.32.118/live/livestream
* Play HTTP-FLV from http://28.170.32.118:8080/live/livestream.flv
* Play HLS from http://28.170.32.118:8080/live/livestream.m3u8Try to motify the [srs.yaml](srs.yaml), then push to your repository, your K8s will be updated automatically.