Template repository for deploying SRS to AKS(Azure Kubernetes Service).
Step 1: Create AKS cluster and user:
- Create a subscription and resource group.
- Create a K8s cluster by AKS, check by command
kubectl get namespace
- Create a new CREDENTIALS with
subscription
andresource group
.
Step 2: Click the Use this template to create your repository, then set the secrets:
AZURE_CREDENTIALS
is the CREDENTIALS.RESOURCE_GROUP
is the resource group.CLUSTER_NAME
is the name of AKS cluster.
Step 3: Run Actions to deploy to your K8s, for example, if your external IP is 52.149.197.10
:
- Website is http://52.149.197.10:8080
- Publish RTMP to rtmp://52.149.197.10/live/livestream
- Play RTMP from rtmp://52.149.197.10/live/livestream
- Play HTTP-FLV from http://52.149.197.10:8080/live/livestream.flv
- Play HLS from http://52.149.197.10:8080/live/livestream.m3u8
Try to motify the srs.yaml, then push to your repository, your K8s will be updated automatically.