In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Azure Kubernetes Service (AKS) is a managed container orchestration service based on an open source Kubernetes system that can be used on Microsoft Azure. Organizations can use AKS to deploy, scale, and manage Docker containers and container-based applications across container host clusters.
AKS has the following features and advantages
The main advantages of AKS are the flexibility of administrators and developers, automation and reduced administrative overhead. For example, AKS automatically configures all Kubernetes master servers and nodes during deployment and handles a range of other tasks, including Azure Active Directory integration, connectivity to monitoring services, and configuration of advanced network features, such as HTTP application routing.
Because AKS is a managed service, Microsoft will help us with all Kubernetes upgrades to the service with the launch of the new version. Users can decide whether and when to upgrade the Kubernetes version in their own AKS cluster to reduce the possibility of unexpected workload interruptions.
In addition, AKS nodes can scale up or down to adapt to fluctuations in resource demand. To gain additional processing power, AKS also supports node pools enabled by graphics processing units (GPU). This is critical for compute-intensive workloads, such as scientific applications.
Users can access AKS through the AKS management portal, the AKS command line interface (CLI), or use templates through tools such as Azure Resource Manager. The service is also integrated with the Azure Container Registry (ACR) for Docker image storage and supports the use of persistent data with Azure disks.
Having said that, let's take a look at how to use Azure Portal to create an AKS cluster.
In the Azure portal, click + Create Resource. Then type Kubernetes Service to search:
Click Kubernetes-Create:
Make the following configuration at this location:
Select the subscription to use, and then create a new resource group or use an existing subscription.
For Cluster Details, enter the name of the Kubernetes Cluster and select the region that you want the cluster to create in Azure. We can also select the Kubernetes version and enter the DNS name of the AKS cluster.
The last part of this tab is Zoom. Here, we can select the size of the node and the number of nodes needed in the cluster. (you can change the number of nodes after you deploy the cluster. )
After the configuration is complete, we should have the content shown in the following figure, and then click next:
On the Authentication tab, we can create a new service principal or configure it to use an existing service principal. When using an existing one, you need to provide the SPN client ID and password.
If we are going to run in production, we may need to enable RBAC. But since this is only in my lab, I choose not to enable it:
Network tab, we need to set the HTTP application route to Yes. This will configure an integrated portal controller with automatic public DNS name creation.
Here, I select or create a new virtual network, cluster subnet, Kubernetes service address range, Kubernetes DNS service IP address and Docker Bridge address:
In the monitoring tab, I will always keep the default to enable container monitoring:
At Tags we can add Tag to the resource for later management:
Click create after confirmation:
The creation is completed as shown in the following figure:
Now we need to connect to our AKS cluster through Azure CloudShell:
We can use the following command to obtain the connection certificate for AKS:
Az aks get-credentials-resource-group Demo-AKS-name az-aks01
After the acquisition is completed, you can view the node status of AKS with the following command:
Kubectl get nodes
Open the AKS dashboard using the following Kubectl command:
Az aks browse-resource-group Demo-AKS-name az-aks01
The AKS dashboard opens successfully, as shown in the following figure:
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.