Ant-Media-Server icon indicating copy to clipboard operation
Ant-Media-Server copied to clipboard

Support MicroK8s with Ant Media Server

Open mekya opened this issue 3 years ago • 1 comments

mekya avatar Aug 01 '22 14:08 mekya

The installation steps of Ant Media Server with microk8s on Ubuntu 20.04 are as follows.

1. Run the following command below to start the snap

sudo systemctl start snapd.socket

2. Run the following command to install MicroK8s on your Ubuntu system

sudo snap install microk8s --classic

3. Start a service by running the following command:

microk8s start

4. If you don't enable DNS, you get the error "Temporary failure in name resolution." And, Ant Media Server will not run.

microk8s enable dns

5. Download YAML files from repo (https://github.com/ant-media/Scripts/tree/master/kubernetes) 6. Then create your cluster by using the yaml files as follows.

microk8s kubectl create -f ams-k8s-mongodb.yaml
microk8s kubectl create -f ams-k8s-deployment.yaml
microk8s kubectl create -f ams-k8s-hpa.yaml
microk8s kubectl create -f ams-k8s-ingress.yaml (Don't forget to first install the Kubernetes Ingress https://resources.antmedia.io/docs/kubernetes-ingress)

muratugureminoglu avatar Aug 02 '22 22:08 muratugureminoglu