IMPORTANT NOTE: This repository is depreacated and archived, please use srs-cdk instead. CDK is the future of default and recommended deployment for SRS and Oryx.
Template repository for deploying SRS to TKE(Tencent Kubernetes Engine).
Step 1: Create TKE cluster and user:
- Create a K8s cluster by TKE, check by command
kubectl get namespace - Create a new CAM user, with access AdministratorAccess
Step 2: Click the Use this template to create your repository, then set the secrets:
TENCENT_CLOUD_SECRET_IDis the SecretId of CAM user.TENCENT_CLOUD_SECRET_KEYis the SecretKey of CAM user.TKE_CLUSTER_IDis the TKE K8s cluster ID at TKE > Basic Information.TKE_REGIONis the region of cluster, for example,ap-beijing
Step 3: Run Actions to deploy to your K8s, for example, if your external IP is 49.233.120.79:
- Website is http://49.233.120.79:8080
- Publish RTMP to rtmp://49.233.120.79/live/livestream
- Play RTMP from rtmp://49.233.120.79/live/livestream
- Play HTTP-FLV from http://49.233.120.79:8080/live/livestream.flv
- Play HLS from http://49.233.120.79:8080/live/livestream.m3u8
Try to motify the srs.yaml, then push to your repository, your K8s will be updated automatically.
