Ant Media Server provides a highly scalable solution on Kubernetes by the provided configuration files. This solution can also scale automatically. All you need to have is a Kubernetes Cluster. In this blog post, we will tell how you can create a Kubernetes Cluster on DigitalOcean.
Kubernetes Cluster Creation on DigitalOcean
To create a Kubernetes cluster:
- From the Create menu in the control panel, click Kubernetes.
- Select a Kubernetes version. The latest version is selected by default and is the best choice if you have no specific need for an earlier version.
- Choose a data center region.
- Customize the default node pool, choose the node pool names, and add additional node pools.
- Name the cluster, select the project you want the cluster to belong to, and optionally add a tag. Any tags you choose will be applied to the cluster and its worker nodes.
- Click Create Cluster. Provisioning the cluster takes several minutes.
Check Creation
- Download the cluster configuration file by clicking Actions, then Download Config from the cluster home page.
- run the following kubectl command to check nodes:
kubectl –kubeconfig={CONFIG FILE PATH} get nodes
You should get nodes as in the following image:
Deploying Ant Media Configurations
After this point, you have a running Kubernetes Cluster and it is time to create an Ant Media Server cluster on it. The process is the same as told in this documentation.