Manually Installing Sisense Helm Chart - Single Node
You can install the Sisense Helm chart itself directly on your Kubernetes cluster, meaning installing the Sisense app itself, without using the sisense.sh script.
Prerequisites
- General prerequisites: Checking the Prerequisites and Planning Your Configuration.
-
You must have a pre-installed Kubernetes. Have your own kubernetes cluster or Install the kubernetes cluster (you can use the Sisense installation to only install k8s). You also must be connected to your Kubernetes cluster (i.e., you can do
kubectl
commands such askubectl get pod
, and others).
For example: To install Kubernetes via the sisense.sh script, modify the installer/extra_values/installer/installer-values.yaml file, and make sureinstall_k8s_only: true
, which will only install Kubernetes and will exit without Sisense installation.
-
Create the directory /opt/sisense and mount it on a self dedicated disk.
-
Create the following sub-directories and give them ownership according to your running user ID:
CopyNAMESPACE=sisense #for example
run_as_user=${run_as_user:-1000}
run_as_group=${run_as_group:-1000}
sudo mkdir -p /opt/sisense/zookeeper
sudo mkdir -p /opt/sisense/mongodb
sudo mkdir -p /opt/sisense/storage
sudo mkdir -p /opt/sisense/dgraph-io
sudo mkdir -p /opt/sisense/alertmanager
sudo mkdir -p /opt/sisense/grafana/grafana-${NAMESPACE}
sudo mkdir -p /opt/sisense/prometheus/prometheus-db
sudo mkdir -p /opt/sisense/alertmanager/alertmanager-db
sudo chown -R ${run_as_user}:${run_as_group} /opt/sisense
-
-
Manually label your Kubernetes nodes as below, and remove node taint
node-role.kubernetes.io/master:NoSchedule
from that node:
kubectl label node ${node_name} node=single --overwrite=true
kubectl taint nodes ${node_name} node-role.kubernetes.io/master:NoSchedule-
Note:
If you are using a cloud managed K8s or OpenShift, you may not be able to use the oc label node
command, and you will have to modify the node labels via the Cloud/OpenShift provider’s UI or CLI command.
-
Only if you are installing Sisense without cluster visibility, create your Sisense project (namespace).
CopyNAMESPACE=sisense #for example
kubectl create ns ${NAMESPACE}
-
If you would like to use the internal monitoring app, see Installing/Updating Sisense Internal Monitoring.
Sisense Helm Chart Installation
-
Add the Sisense helm repo, and run a quick update to sync with the remote repo:
Copyhelm repo add sisense-fusion https://data.sisense.com/linux/helm/charts/fusion
helm repo update -
Search the available chart version via one of the following commands:
CopySISENSE_VERSION=<YOUR SISENSE VERSION>
# Example:
# SISENSE_VERSION=L2024.1.0.46
helm search repo sisense-fusion -l | grep ${SISENSE_VERSION}
sisense-fusion/sisense 2024.1.046 L2024.1.0.46 Sisense Linux Deployment
# In the case above, you'll need to install sisense version 2024.1.046 (Following the SemVer 2 convention)
Upgrading an Existing Sisense Installation
-
If you already have your own predefined singlenode-values.yaml file (which you used from previous installations), and you are only upgrading the Sisense version, perform the following command:
# You can use other namespace if you wish
NAMESPACE=sisense
SISENSE_SEMVER=<You Sisense version in format SemVer 2>
# Example, for Sisense version "L2024.1.0.46":
# SISENSE_SEMVER=2024.1.046
helm upgrade -n ${NAMESPACE} sisense sisense-fusion/sisense --version ${SISENSE_SEMVER} -f singlenode-values.yaml
-
Continue with Post Installation.
First Sisense Installation
If this is the first time you are installing Sisense, follow these instructions.
-
Download the singlenode-values.yaml file to your server: singlenode-values.yaml.
-
Edit any values that you need to set. See Sisense Helm Chart Parameters.
-
If you have installed Sisense Internal Monitoring, then in the singlenode-values.yaml file, find each location (there are four) with the following comment, and follow the instructions in the comments:
# If installed Sisense Prometheus ...
Examples:
Copyglobal:
...
monitoring:
# If installed Sisense Prometheus, set below to "true"
internal: false
mongodb:
...
# If installed Sisense Prometheus, uncomment below "mterics" section, and make sure of the correct monitoring "namespace"
#metrics:
# enabled: true
# collector:
# all: true
# compatibleMode: true
# extraFlags: "--discovering-mode"
# serviceMonitor:
# enabled: true
# namespace: monitoring
# labels:
# release: sisense-prom-operator
-
If you are installing Sisense on a namespace other than sisense, then in the values.yaml file, find each location (there are three) with the following comment, and follow the instructions in the comments:
# If installed Sisense on a different namespace than "sisense" ...
Examples:
Copyzookeeper:
...
# If installed Sisense on a different namespace than "sisense", then in the last line of "configuration:", switch "sisense" to correct namespace
# Example for namespace "mynamespace"
# server.1=mynamespace-zookeeper-0.mynamespace-zookeeper-headless.mynamespace.svc.cluster.local:2888:3888
configuration: |-
tickTime=2000
initLimit=10
...
server.1=sisense-zookeeper-0.sisense-zookeeper-headless.sisense.svc.cluster.local:2888:3888
grafana:
...
persistence:
storageClassName: manual
selectorLabels:
# If installed Sisense on a different namespace than "sisense", switch the below from "sisense" to correct namespace
app: "grafana-sisense" -
Install Sisense using the values file:
Copy# You can use other namespace if you wish
NAMESPACE=sisense
SISENSE_SEMVER=<You Sisense version in format SemVer 2>
# Example:
# SISENSE_SEMVER=2024.1.046
helm upgrade -n ${NAMESPACE} sisense sisense-fusion/sisense --version ${SISENSE_SEMVER} -f singlenode-values.yaml --install --create-namespace
After ~30 seconds, the following message appears (the message could be slightly different, depending on given values; for example, if using a LoadBalancer):
Post Installation
When you see the message above, the Sisense app is undergoing the deployment process. Use the following command to follow its progress until it is completed:
kubectl logs -f --namespace ${NAMESPACE} -l app.kubernetes.io/name=validator
Initially, you can see the services as they are being deployed:
When all of the services are up, the message Sisense installation process completed successfully
appears.
Enter your Sisense address, and run the activation.