Installing SSD

This page provides instructions to install SSD. Follow the steps provided below to complete your SSD installation.

Pre-requisites

Before installing, make sure the following components are available and the setup is done as needed:

  • Kubernetes cluster 1.20 or later with 3 nodes of each 4 cores and 16 GB memory. Execute the below command to check the kubernetes version.

kubectl version --short
  • Helm 3 is setup on the client system with 3.10.3 or later. If helm is not set up, follow instructions given in Installing Helm. Execute the below command to check the helm version.

helm version
  • Kubernetes cluster should support automatic persistent volume provision. If not you need to configure manually. For the tool chain we need at least 10 Gi. Recommended is 50 Gi. Other services(redis,dgraph,minio,ssd-db) need 8 Gi.

  • Ensure DNS record is available. Either the DNS name server record must exist or the "hosts" file must be updated. Update the below with valid host name(FQDN) or ip address

Ip-address SSD.REPLACE.THIS.WITH.YOURCOMPANY.COM

E.g.: ssd.opsmx.com

  • Cert-Manager needs to be installed in the cluster. If it is not installed, see Cert-Manager for instructions on how to install it.

Installation instructions:

Follow the steps given below for installing SSD in your environment in the same cluster as your applications:

  • Clone the repo named enterprise-ssd repo by executing the following command. (please note that the organization name should be changed).

    git clone https://github.com/OpsMx/enterprise-ssd.git
  • Add opsmx helm repo to your local machine by executing the following command:

    helm repo add opsmxssd https://opsmx.github.io/enterprise-ssd/

If opsmx-ssd helm repo is already added, do a repo update before installing the chart by executing the following command: helm repo update

  • cd to the enterprise-ssd

    cd enterprise-ssd/charts/ssd
  • Customize the hosts for various installations using the options in the ssd-minimal-values.yaml under ssdUI. If any other ingress controller is installed, set createIngress flag to false and configure your ingress, see Ingress-Nginx Controller, for instructions on how to install nginx ingress.

  • Helm v3 expects the namespace to be present before helm install command is run. If it does not exists, execute the below command:

    kubectl create namespace opsmx-ssd
  • The following yamls' are used to install different variations of SSD.

Values yamlsDescription

ssd-minimal-values.yaml

This file is used for Installing SSD with default Authentication

ssd-saml-values.yaml

This file is used for Installing SSD with SAML Authentication

ssd-local-values.yaml

This file is used for Installing SSD locally in minikube/K3s.

  • Update only the host value in the ssd-minimal-values.yaml and namespace value under the kubedetector section(If the namespace value is updated the data will be displayed in SSD).

    NOTE: Please read the inline comments of ssd-minimal-values.yaml.

  • Install SSD by executing this command:

    helm install ssd opsmxssd/ssd -f ssd-minimal-values.yaml -n opsmx-ssd --timeout=600s

Monitoring the installation process

  • Wait for all pods to stabilize (about 2-3 min, depending on your cluster load). The "setup-job" in completed status indicates completion of the installation process.

Check the status by executing the following command:

$ kubectl -n opsmx-ssd get pods

Checking the installation

  • Get the SSD URL using the below command and access in a browser such as Chrome.

     kubectl -n opsmx-ssd get ingress
  • Fetch the SSD password from the Secret using the below command and Login to SSD.

    kubectl -n opsmx-ssd get secret ssd-initial-password -o jsonpath='{.data.ADMIN_PASSWORD}' | base64 -d
  • After logging into the SSD, wait for 5m and the data will be populated.

Troubleshooting

If you face any issues while installation check the installation logs in debug mode and fix it. In case you are not able to fix the issues feel free to contact OpsMx support team.

Last updated