Template repository for deploying SRS to ACK(Alibaba Cloud Container Service for Kubernetes).
Step 1: Create ACK cluster and user:
- Create a K8s cluster by ACK, check by command
kubectl get namespace
- Create a new RAM user, with access AliyunCSFullAccess
- 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:
ACCESS_KEY_ID
is the AccessKey ID of RAM user.ACCESS_KEY_SECRET
is the AccessKey Secret of RAM user.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.m3u8
Try to motify the srs.yaml, then push to your repository, your K8s will be updated automatically.