From 55b565f81a7fb6199d85831f6d1af99dc9ba661d Mon Sep 17 00:00:00 2001 From: Murat Ugur Eminoglu Date: Wed, 6 Dec 2023 15:56:52 +0300 Subject: [PATCH 1/2] Update Azure AKS Document --- .../installing-ams-on-azure-aks.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/docs/guides/clustering-and-scaling/kubernetes/kubernetes-services/installing-ams-on-azure-aks.md b/docs/guides/clustering-and-scaling/kubernetes/kubernetes-services/installing-ams-on-azure-aks.md index 2283185b..b13e1c67 100644 --- a/docs/guides/clustering-and-scaling/kubernetes/kubernetes-services/installing-ams-on-azure-aks.md +++ b/docs/guides/clustering-and-scaling/kubernetes/kubernetes-services/installing-ams-on-azure-aks.md @@ -73,7 +73,19 @@ helm install antmedia antmedia/antmedia --set origin=origin.antmedia.cloud --set ## Step 6: Configure Ingress Controller -In Azure AKS, we need to use an Application Gateway for which you can select **Networking > Enable ingress controller** from your cluster, and then create the Application Gateway. +You have two alternatives: you can opt for either Azure Application Gateway or Nginx Ingress Controller. + +By default, Ant Media Server deploys a self-signed certificate. If You should prefer to utilize a signed certificate, kindly refer to [this link](https://antmedia.io/docs/guides/clustering-and-scaling/kubernetes/deploy-ams-on-kubernetes/#install-an-ssl-certificate) for detailed instructions. + + +1. Nginx Ingress Controller: For the Nginx Ingress Controller, you will only need to run the following command, You will then be able to access your cluster. + +``` +kubectl annotate service antmedia-ingress-nginx-controller service.beta.kubernetes.io/azure-load-balancer-health-probe-request-path=/healthz -n antmedia +``` + + +2. Azure Application Gateway: Need to use an Application Gateway for which you can select **Networking > Enable ingress controller** from your cluster, and then create the Application Gateway. ![](@site/static/img/azure-aks/azure-aks-7.png) @@ -83,6 +95,9 @@ Then run the following command to enable Application Gateway Ingress. kubectl annotate ingress -n antmedia kubernetes.io/ingress.class=azure/application-gateway --overwrite --all ``` + +## Step 7 + If the installation and configuration was successful, the public IP address/domain name will be output when running the command `kubectl get ingress -n antmedia`. After making the DNS registration, you will be able to access Ant Media Server using the hostname thats been configured. ![](@site/static/img/azure-aks/azure-aks-8-1.png) From 5db85b83d53d53afaea214fda5512009c0eb734c Mon Sep 17 00:00:00 2001 From: Murat Ugur Eminoglu Date: Wed, 6 Dec 2023 15:58:11 +0300 Subject: [PATCH 2/2] Update installing-ams-on-azure-aks.md --- .../kubernetes-services/installing-ams-on-azure-aks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/guides/clustering-and-scaling/kubernetes/kubernetes-services/installing-ams-on-azure-aks.md b/docs/guides/clustering-and-scaling/kubernetes/kubernetes-services/installing-ams-on-azure-aks.md index b13e1c67..37452754 100644 --- a/docs/guides/clustering-and-scaling/kubernetes/kubernetes-services/installing-ams-on-azure-aks.md +++ b/docs/guides/clustering-and-scaling/kubernetes/kubernetes-services/installing-ams-on-azure-aks.md @@ -78,7 +78,7 @@ You have two alternatives: you can opt for either Azure Application Gateway or N By default, Ant Media Server deploys a self-signed certificate. If You should prefer to utilize a signed certificate, kindly refer to [this link](https://antmedia.io/docs/guides/clustering-and-scaling/kubernetes/deploy-ams-on-kubernetes/#install-an-ssl-certificate) for detailed instructions. -1. Nginx Ingress Controller: For the Nginx Ingress Controller, you will only need to run the following command, You will then be able to access your cluster. +1. Nginx Ingress Controller: For the Nginx Ingress Controller, you will only need to run the following command. ``` kubectl annotate service antmedia-ingress-nginx-controller service.beta.kubernetes.io/azure-load-balancer-health-probe-request-path=/healthz -n antmedia