Smart Cache Kubernetes Installation
This topic describes how to deploy Smart Cache in a Kubernetes An open-source container orchestration system for automating software deployment, scaling, and management. environment. The integration is packaged as a Helm chart. You can deploy the full Smart Cache platform, using the Helm chart available in the GigaSpaces Helm repository.
The topics in this section assume basic knowledge of the GigaSpaces platform. If you aren't familiar with GigaSpaces, review the contents of the general Getting Started section before performing the tasks described here.
Prerequisites
Following are the prerequisites required for deploying Smart Cache using Kubernetes.
-
Kubernetes cluster version >1.22
-
At least a total of 10GB and 5 vCPU
-
Kubectl and helm applications installed.
-
See Appendix A for:
-
Certificate manager deployment
-
Metrics-service deployment
-
Ingress controller installation in order to connect to the SpaceDeck GigaSpaces intuitive, streamlined user interface to set up, manage and control their environment. Using SpaceDeck, users can define the tools to bring legacy System of Record (SoR) databases into the in-memory data grid that is the core of the GigaSpaces system. UI.
-
-
A load balancer that is securely exposed to the internet and connected to the ingress controller
-
DNS setup with a certificate for a secure connection. The instructions below assume the host name to be myhost.com.
Instructions
- Get the Smart Cache Helm repo and update:
-
Fully install Smart Cache (including Ingress and H/A for SpaceDeck):
-
Smart Cache is now installed in H/A mode. Wait for all pods to be ready.
-
Connect to the SpaceDeck at
https://myhost.com/
helm repo add cache https://resources.gigaspaces.com/helm-charts-dih helm repo update cache
helm install cache cache/smart-cache --version 16.4.0 --set spacedeck.ingress.host=myhost.com,
global.password=rootpassword
Next Steps
-
Use SpaceDeck to define Spaces and run data queries.
By default, the root user has root/password credentials. This must be changed before installation using the parameter of global.password seen in step 2 of the Instructions section above.
Appendix A
-
Certificate manager deployment. Follow these instructions (external link).
-
Metrics-service deployment. Follow these instructions (external link).
-
An ingress controller is required as part of the Smart Cache installation. Follow these Instructions for NGINX controller installation (external link). It is best practice to install NGINX in a different name-space.
For detailed configuration information refer to the Detailed Configuration: Smart Cache page
Next Steps Configuring Smart Cache
The following topics outline additional steps in the Smart Cache setup.