© Copyright 2023, Astera Software
Azure Kubernetes Service (AKS) presents an easy and quick way to deploy applications on Azure datacenters securely. AKS allows for operating and governing on-premise, edge and multicloud Kubernetes clusters all from itself. To learn more about the AKS, visit this site.
In this article, we will cover how to create and set up an AKS cluster for the Astera Server.
Deploy an Azure Kubernetes Service cluster using Azure GUI.
Go to your Azure Organization portal to set up AKS for the Astera Server.
Go to the search bar from your dashboard on Azure and type Kubernetes Service.
Create a new cluster in AKS by selecting Create a Kubernetes cluster.
While creating the AKS cluster, create a new Resource group by clicking on the Create new option below the drop-down for the Resource group.
Next, provide the Kubernetes Cluster name. Also, specify the Region based on where the resource group is created.
Let the other options, Cluster preset configuration, Availability zones, Kubernetes version and API server availability remain as default.
Select the primary node pool’s Node Size, and Scale Method as described below.
Note: Make sure that you have enough cores available in the region for that particular machine family when selecting the machine size. This can be done by checking in the Quotas section. To go to the Quotas section, open the portal in a new tab, search for ‘quotas’ and after opening quotas, select Compute.
Now go to the Networking Tab and select Azure CNI as the Network Configuration.
Create a New virtual Network by selecting the Create New option and set the properties as illustrated below and click OK.
Now go to the Review + Create Tab to validate the options chosen. Once validated, click on Create to start deployment for the AKS cluster.
To add a worker node, navigate to the Node Pool which appears in the left pane on the opening of the cluster post-creation.
Now add a node pool, name it, select User mode and OS. Also select Machine size and scaling method as illustrated below.
Note: Make sure that you have enough cores available in the region for that particular machine family when selecting the machine size. This can be done by checking in the Quotas section. To go to the Quotas section, open the portal in a new tab, search for ‘quotas’ and after opening quotas, select Compute.
Open and copy the Astera YAML syntax.
Note: YAML file containing Docker Hub’s public repositories link (asteracloud/asteraintegration:9.1.2-443)
Next, go to Workloads in your AKS cluster, click on the Create option and select the option Create with YAML as illustrated in the image below.
Paste the earlier copied syntax from the YAML file as described below.
The above process will take approximately 10 minutes to create services and ingress as illustrated below.
When the service is ready, you can verify them in your browser as shown.
To enable monitoring directly from one of your AKS clusters in the Azure portal, do the following:
In the Azure portal, select All services.
In the list of resources, begin typing Containers. The list filters based on your input.
Select Kubernetes services.
In the list of Kubernetes services, select a service.
On the Kubernetes service overview page, select Monitoring - Insights.
On the Onboarding to Azure Monitor for Containers insights page, if you have an existing Log Analytics workspace in the same subscription as the cluster, select it in the drop-down list. The list preselects the default workspace and location that the AKS container is deployed to in the subscription.
Select Use managed identity if you want to use managed identity authentication with the Azure Monitor agent.
After you’ve enabled monitoring, it might take around 15 minutes before you can view operational data for the cluster.
After Setting Up Monitoring, you’ll be able to monitor the Insights for your AKS Cluster by navigating to the Insights Tab under Monitoring to view:
You may also setup customized alerts depending on your requirements from the Alerts Tab under Monitoring.
Select Enable recommended alert rules.
You may customize the alert settings depending on your requirements and provide an email to receive the alerts. Once configured select Enable.
This concludes our discussion on setting up, verifying and monitoring an Astera server deployment on AKS.