Try Playground
Show / Hide Table of Contents

Adding Cache Server(s) in AKS at Runtime

To add cache servers at runtime in your Azure Kubernetes cluster, you need to add nodes in NCache deployment and then manually add servers using the NCache management tools.

Adding cache server(s) to deployment

You can add cache servers at runtime through the following ways.

  • Manual Deployment
  • Operator Deployment
  1. Execute the following command on the Azure Cloud Shell to increase the number of cache replicas in your deployment.

    kubectl scale --replicas=number_of_total_pods deployment/ncache
    
  2. Replica count can also be increased manually by modifying ncache.yaml file.

    • Access ncache.yaml file in a notepad and modify the replicas number under the spec tag according to your requirement.

    • After the YAML file has been modified, run the following command in Azure Cloud Shell to apply the changes made to the deployment.

      kubectl apply -f [dir]/ncache.yaml 
      
  1. Execute the following command on the Azure Cloud Shell to increase the number of cache replicas in your deployment.

    kubectl scale --clusterSize=number_of_total_servers ncache/ncache
    
  2. Replica count can also be increased manually by modifying ncache_custom_resource.yaml file.
    • Access ncache_custom_resource.yaml file by executing the following command: bathcfile kubectl edit ncache ncache
    • Modify clusterSize under the spec tag according to your requirement.

Adding cache server(s) to the NCache cluster

Cache servers can be added to an NCache cluster through the following ways:

  1. Follow these steps to add cache servers through the NCache Management Center.

    • Access the NCache Management Center from [gatewayIPAddress]:9801
    • Follow the steps provided in Add Server Nodes once you have accessed the NCache Management Center.
  2. To add cache servers through PowerShell, follow the steps mentioned in Adding Cache Servers through PowerShell.

After the required cache servers have been added to the cache cluster, you can view these changes from the NCache Management Center. You can also monitor the cluster and check its stats. See Monitor NCache Cluster and Clients.

See Also

Create Cache Cluster in AKS
Monitor NCache Cluster and Clients in AKS
Removing Cache Servers in AKS at Runtime

In This Article
  • Adding cache server(s) to deployment
  • Adding cache server(s) to the NCache 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