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

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 NCache management tools or NCache deployment inside the EKS cluster.

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

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 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 replica count manually by modifying ncachedeployment.yaml file. Do the following:

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

    • After the YAML file has been modified, run the following command in 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. 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 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 NCache Management Center.

    • Access 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 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

In This Article
  • Amazon Elastic Kubernetes Service: Adding Cache Server(s) to deployment
  • Adding cache server(s) to 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