• Facebook
  • Twitter
  • Youtube
  • LinedIn
  • RSS
  • Docs
  • Comparisons
  • Blogs
  • Download
  • Contact Us
Download
Show / Hide Table of Contents

Adding Cache Server(s) in Amazon EKS at Runtime

NCache allows you to add cache servers at runtime in your Elastic Kubernetes Cluster for scalability. You can add more servers either through the NCache management tools or NCache deployment inside the EKS cluster.

Amazon Elastic Kubernetes Service: Adding Cache Server(s) to deployment

The First step of adding cache servers is to update the replica count in the deployment. This can be done through the following ways:

  • Manual Deployment
  • Operator Deployment
  1. Execute the following command in the AWS command line interface to increase the number of cache replicas in your deployment.

    kubectl scale --replicas=number_of_total_pods deployment ncachedeployment.yaml
    
  2. You can also increase the replica count manually by modifying the ncachedeployment.yaml file. Do the following:

    • Open the ncachedeployment.yaml file and update the replicas number under the spec tag according to your requirement.

    • After the YAML file has been modified, run the following command in the AWS command line tool to apply the changes made to the deployment.

      kubectl apply -f [dir]/ncachedeployment.yaml
      
  1. Execute the following command on the cloud shell to increase the number of cache replicas in your deployment.

    kubectl scale --clusterSize=number_of_total_servers ncache/ncache
    
  2. The Replica count can also be increased manually by modifying the 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 NCache cluster

You can add cache servers to your NCache cluster through the following ways:

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

    • Access the NCache Management Center as showed earlier.
    • Follow the steps in Add Server Nodes once you have successfully accessed the manager.
  2. To add cache servers through the NCache PowerShell tool, follow the steps provided in Adding Cache Servers through PowerShell.

After you have added the required server nodes 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 for more details.

See Also

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

Contact Us

PHONE

+1 (214) 764-6933   (US)

+44 20 7993 8327   (UK)

 
EMAIL

sales@alachisoft.com

support@alachisoft.com

NCache
  • NCache Enterprise
  • NCache Community
  • 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 - . All rights reserved. NCache is a registered trademark of Diyatech Corp.
Back to top