Smart DIH Kubernetes Installation

This is an installation guide for Smart DIH in H/A mode. Upon completion of this guide, the user will have a functional Smart DIH together with the ability to operate is using the SpaceDeck UI

.

Contact customer support to obtain a GIgaSpaces license and also a license for IIDR (gsSecret.yaml) and for assistance for this installation.

Prerequisites

Following are the prerequisites required for deploying Smart DIH using Kubernetes.

  • Kubernetes cluster version >1.22

  • At least a total of 20GB and 10 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 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

  1. Use the gsSecret.yaml you got from GigaSpaces to install the software token.

  2. Get the Smart DIH Helm repo and update:
  3. helm repo add dih https://resources.gigaspaces.com/helm-charts-dih 
    
    helm repo update dih
    
  4. Fully install Smart DIH (including Ingress, H/A for SpaceDeck and IIDR):

  5. helm install dih dih/dih --version 15.2.0 --set spacedeck.ingress.host=myhost.com,tags.iidr=true, 
    global.password=rootpassword
  6. If IIDR installation is NOT included then use this:

    helm install dih dih/dih --version 15.2.0 --set spacedeck.ingress.host=myhost.com  
    
    helm install dih dih/dih --version 15.2.0 --set global.ingressHost=myhost.com  
    
  7. Smart DIH is now installed in H/A mode. Wait for all pods to be ready.

  8. Connect to the SpaceDeck at https://myhost.com/

Next Steps

  1. Install the agent for the required data sources: DI Agent Installation: Prerequisites

  2. Use SpaceDeck to define spaces, data sources and pipelines.

    By default, the root user has root/password credentials.  This must be changed before installation using the parameter of global.password seen in step 3 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 DIH 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 DIH page