This repository contains YAML configuration files for NCache Kubernetes and Kubernetes based cloud services e.g AKS, EKS deployments.
Each folder has 3 yaml files (ncache, cachediscoveryservice, gatwayservice). You can use these files to deploy NCache inside any kubernetes (or kuberenetes based cloud service e.g AKS).
Let's see what information these files contains
This YAML file, contains all the necessary information including replica count, node selector, image repository and ports details required by your Kubernetes cluster to create and run any number of NCache server pods using NCache docker image.
This YAML file, is used to deploy a kubernetes headless
service, which we called as cache discovery service
for the clients to find the desired caches on the deployed NCache servers (pods) within the kubernetes cluster. This is required because because every pod is assigned a dynamic ip-address at pod start time which is not pre-determined, but to connect with a cache NCache clients needs the ip-address of the cache servers.
Purpose of this file is to expose the NCache Web Manager outside of the Kubernetes cluster, to create, manager and monitor NCache from your workstation.
This service is only required if you want to manage & monitor NCache from outside of the your Kubernetes cluster using its Web Manager.
These are the basic sample configuration files (*.yaml) to radily setup NCache within a Kubernetes cluster for a quick start. You might need to adujst few of the settings like hardware resources for your cache server pods, like CPU, Memory, Persistence Volumes etc. according to your work load and business needs.
kubectl create -f ncache.yaml
kubectl create -f cachediscoveryservice.yaml
kubectl create -f gatewayservice.yaml
- alachisoft/ncache for NCache Docker Images
- Alachisoft/NCache-Docker for NCache Dockerfiles
- kubernetes/kubernetes