Try Live Demo

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:

  1. From the Create menu in the control panel, click Kubernetes.
  2. 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.
  3. Choose a data center region.
  4. Customize the default node pool, choose the node pool names, and add additional node pools.
  5. 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.
  6. Click Create Cluster. Provisioning the cluster takes several minutes.
Kubernetes Cluster Creation

Kubernetes Cluster Creation

Check Creation

  1. Download the cluster configuration file by clicking Actions, then Download Config from the cluster home page.
  2. 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.

Categories: Tutorial

Burak Kekeç

Burak has been a Software Developer at Ant Media since its beginning in 2017. Overall he has 16 years of expertise in software development experience with C, C++, Java EE, and Android.