• Products
  • Solutions
  • Customers
  • Resources
  • Company
  • Pricing
  • Download
Try Playground
  • Create Kubernetes Cluster in Azure
Show / Hide Table of Contents
  • Deploying NCache in Azure Kubernetes Service
  • Create Azure Resource Group
  • Create Kubernetes Cluster in Azure
  • Deploy NCache Resources in AKS
    • Manually Deploy NCache in AKS
      • Create NCache Deployment in AKS
      • Create Discovery Service for NCache Clients in AKS
      • Create Gateway Service for NCache Management in AKS
    • Deploy NCache in AKS Through Operator
      • Create Service Account in AKS
      • Create Role Definition in AKS
      • Create Role Binding in AKS
      • Create NCache Operator in AKS
      • Create Custom Resource in AKS
  • Create NCache Client Deployment in AKS
  • Create Cache Cluster in AKS
  • Monitor NCache Cluster and Clients in AKS
  • Adding Cache Servers in AKS at Runtime
  • Removing Cache Severs in AKS at Runtime

Create Azure Kubernetes Cluster

Kubernetes is an open-source container orchestrator that automates deployment, scaling, and management of operations. A Azure Kubernetes cluster can be created through Azure Portal or Azure Cloud Shell.

Using Azure Portal for Creating Azure Kubernetes Cluster

When using Azure Portal, the following steps will let you create a Azure Kubernetes cluster in Azure.

  • From the Azure portal, go to Resource groups from the leftmost pane of the window.

  • From the list of resource groups, left-click on your resource group (created in Create Azure Resource Group).

  • Left-click on the + Add button on the top left corner.

  • In the search bar, under the New tag, type Kubernetes Service.

  • Press enter to get the following screen as the search result.

azure-portal-search-result-kubernetes-service

  • Left-click on the Create button. On clicking the button, you will be redirected to a Create Kubernetes cluster page.

  • At the Create Kubernetes Cluster page, you are going to create the required Kubernetes cluster. Add these details according to your requirements.

azure-portal-create-kubernetes-cluster-details

Tip

Primarily, all you need to do is assign a name to your Kubernetes cluster, leaving the rest in their default settings. However, for enhanced control over your cluster, you can adjust the Region, Node count, and Node size as per your requirements. Additionally, you have the flexibility to scale, monitor, and incorporate authentication, networking, and tags into your Kubernetes cluster, allowing you to optimize it further.

  • Click on the Review + Create button at the bottom of the window to review the provided details.

  • Once the validation criterion is met, you will be notified as thus,

azure-portal-kubernetes-cluster-create

  • Click on Create to create your Kubernetes cluster. This creation process usually takes a few minutes to complete.

Using Azure Cloud Shell

  • After the resource group has been successfully created, create a service principal and configure its access to Azure resources through the following command
az ad sp create-for-rbac

This command will return an output such as:

azure-shell-service-principal

  • Use the appId and password from the results of the previously executed command in the command below. This will create an Azure Kubernetes Service cluster for you.
az aks create --resource-group aksgroup --name akscluster --node-count 2 --service-principal 'appId' --client-secret 'password'

Connect to Kubernetes Cluster

After the Kubernetes cluster is created successfully, you need to connect it. Use the following command to get the credentials of your newly created AKS cluster and get them saved on the local machine.

az aks get-credentials --name akscluster --resource-group aksgroup

The next step after creating a Kubernetes cluster is to create NCache deployment which is explained in the next chapter.

See Also

Create Azure Resource Group
Create NCache Deployment in AKS
Create Gateway Service in AKS
Create Discovery Service in AKS

In This Article
  • Using Azure Portal for Creating Azure Kubernetes Cluster
  • Using Azure Cloud Shell
  • Connect to Kubernetes Cluster
  • See Also

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Professional
  • Edition Comparison
  • NCache Architecture
  • Benchmarks
Download
Pricing
Try Playground

Deployments
  • Cloud (SaaS & Software)
  • On-Premises
  • Kubernetes
  • Docker
Technical Use Cases
  • ASP.NET Sessions
  • ASP.NET Core Sessions
  • Pub/Sub Messaging
  • Real-Time ASP.NET SignalR
  • Internet of Things (IoT)
  • NoSQL Database
  • Stream Processing
  • Microservices
Resources
  • Magazine Articles
  • Third-Party Articles
  • Articles
  • Videos
  • Whitepapers
  • Shows
  • Talks
  • Blogs
  • Docs
Customer Case Studies
  • Testimonials
  • Customers
Support
  • Schedule a Demo
  • Forum (Google Groups)
  • Tips
Company
  • Leadership
  • Partners
  • News
  • Events
  • Careers
Contact Us

  • EnglishChinese (Simplified)FrenchGermanItalianJapaneseKoreanPortugueseSpanish

  • Contact Us
  •  
  • Sitemap
  •  
  • Terms of Use
  •  
  • Privacy Policy
© Copyright Alachisoft 2002 - 2025. All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top