Install Symphony - Kubernetes
Adding Logi Symphony to your environment involves installing, configuring, and licensing the components you'll use as a stand alone or embedded resource. You may need to install multiple components that work together to provide your desired analytics experience, depending on your licensing arrangements.
Important: To install Symphony in a Kubernetes environment, you'll need an intermediate level of familiarity and experience with Kubernetes. See https://kubernetes.io/docs/home/.
Important: Download the latest installation package and the complete readme at https://repo-logisymphony.insightsoftware.com/helm-charts/.
Prerequisites
A Kubernetes cluster of appropriate compute availability
The Helm CLI installed
Your command line tool, kubectl, is installed and configured to use with your cluster
-
Know your selection of modules you wish to install:
Full Symphony 24
Symphony 24 with Logi AI (beta)
Symphony with Visual Data Discovery only.
Symphony with Managed Dashboards and Reports only.
Kubernetes Cluster Requirements
There are no specific limits in the Helm chart by default, but we suggest the following compute availability on your cluster:
Recommended Compute Availability
10 Cores
24 Gi Memory
Required for Scheduling by Kubernetes
4 Cores
16 Gi Memory
Important: These specifications are intended as an initial installation guide. Your environment's specific workloads may demand a higher number of cores and more memory available for computing.
Other Requirements
The memory requirements above do not take into account other components that are a part of Logi Symphony. These components are external to Helm chart requirements. Size your environment following the recommendations for each component. These components include:
PostgreSQL
RabbitMQ
Installation Steps - All Modules
For information about accessing Symphony after it is installed, see Access Symphony.
Step 1: Install a Proxy or Ingress Controller
Install the proxy or ingress controller you want to use to provide flexible control over incoming traffic to your Symphony environment.
One option is to install a NGINX Ingress Controller as in the example provided here.
Note: For other install methods for the ingress controller, see https://bitnami.com/stack/nginx-ingress-controller/helm.
Install a NGINX Ingress Controller
-
Install NGINX using the following commands:
helm repo add bitnami https://charts.bitnami.com/bitnami helm repo update helm install my-ingress-controller bitnami/nginx-ingress-controller -
Verify your ingress controller by running the following command to return all services in the namespace:
kubectl get services If the EXTERNAL-IP is set to a value and not stuck in a pending space, the ingress controller is exposed correctly. You can additionally verify this by visiting the external IP address: you should be served an NGINX 404 page.
Step 2: Determine Your URL
You have two options to choose from for your environment's URL:
Use the EXTERNAL-IP returned in the previous step
- Use the URL from your cluster
Step 3: Add the Symphony Helm Repository
Install the Helm chart with the release name of logisymphony1 on your Kubernetes cluster using default configuration settings. Adjust parameters as needed. See Install Symphony - Kubernetes.
Uninstall the Helm Chart
If you need to uninstall the Helm chart, run this command to remove all Kubernetes components associated with the chart and delete Symphony.
helm delete logisymphony1
Step 4: Create a Symphonyvalues.yaml
File
Use Helm to generate a values.yaml
file:
helm show values insightsoftware/logisymphony
or
helm show values insightsoftware/logisymphony > values.yaml
Next, edit in an updated Admin user password, and the ingress information.
Set the Admin Password and Enable Features
Set a strong password: a combination of at least nine characters that includes upper and lower case letters, numbers, and special characters. Enable and disable features as needed:
Enable the Data Gateways
To enable data gateways, add to the respective modules as needed.
Visual Data Discovery
Managed Dashboards and Reports
Managed Service Values
Set the Managed service values using the managed
section of values.yaml
.
Data Discovery Service Values
Set the Data Discovery service values using the discovery
section of values.yaml
.
Symphony Databases
If global.postgresql.enabled
is true
, set the Postgres authentication details in the global.postgresql.auth
section.
If global.postgresql.enabled
is false
, set the database information in the managed
and discovery
sections of the values.yaml
. See the Managed Dashboards and Managed Reports helm readme and the Visual Data Discovery helm readme embedded in their respective helm charts.
The other postgres details are set in the postgresql
section of the values.yaml
as seen in the following example. Add databases for installed modules as needed.
Note: To add more databases for the Visual Data Discovery service , create them in this section along with the postgres database.
Data Discovery
Include this initdbScript.sql
with appropriate OWNER
information for the Visual Data Discovery module.
Managed Dashboards and Reports
Include this initdbScript.sql
with appropriate OWNER
information for the Managed Dashboards and Reports modules.
Logi AI
Include this initdbScript.sql
with appropriate OWNER
information for the Logi AI module.
Important: This feature is considered to be released in beta for your testing purposes. Workflows and features may change before a production-ready version is released.
Data Discovery CORS Whitelisting
If you're embedding your Visual Data Discovery content, you must add the appropriate domain names to whitelisting for CORS.
RabbitMQ Deployment
By default this helm chart will deploy a RabbitMQ helm chart. The RabbitMQ configuration is passed down to sub charts Visual Data Discovery, and Managed Dashboards and Managed Reports via Environment variables set directly in the values.yaml
:
Important:
RabbitMQ is required. If you prefer to use it outside of the Symphony helm chart, set global.logi.symphony.rabbitmq.enabled
to false
and define the environment variables above to point to your accessible RabbitMQ instance.
Important:
Currently only the values set by default in values.yaml
are supported.
Configure RabbitMQ
You can initialize RabbitMQ with Exchanges, Bindings, and Queues in two different ways.
Method one (default): Pass the following Environment variable. With this set, RabbitMQ populates with the required exchanges, bindings, and queues during the handledatabase container as part of the Managed Dashboards and Managed Reports start up.
Method two: Pass the configuration information as part of configuration.
Ingress Updates
Modify the ingress section by defining the URL from Step 2, and uncomment any lines until your file matches the commands indicated below.
You must enable sticky sessions for a load balanced implementation of the managed service in Logi Symphony. This example includes annotations to add to enable sticky sessions with a NGINX ingress controller.
SSL Set Up
Use an ingress to enable SSL with the Symphony Helm chart. First create a secret with your certificate information.
kubectl create secret tls exampledomain --key C:\temp\exampledomain.keyfile --cert C:\temp\exampledomain.certfile
Next, apply that secret to the ingress inside the tls.
End readme version of instructions
Step 5: Install Logi Symphony
With the previous steps completed, run the following command:
helm install logisymphony1 insightsoftware/logisymphony -f values.yaml
This installs Symphony. When it starts, proceed to the next step.
Step 6: Get the Pods for Your Namespace
Run this command to return a list of all pods running.
kubectl get pods -A
Licensing Symphony
Trial licensing is included as part of the installation process. For more information, see:
Managed Dashboards and Reports: Manage Licenses
-
Visual Data Discovery: Request and Apply a New License Key
Important: If you are installing Symphony to use the Visual Data Discovery module alone, you will need to apply both a Managed Dashboards and Reports license, and a Visual Data Discovery license.
Installation Parameters
Configurable parameters for your Symphony instance include details for parameters related to your website and for enabling Logi AI.
See the complete readme at https://repo-logisymphony.insightsoftware.com/helm-charts/.
Note: If global.postgresql.enabled is true*
for Logi AI, then the logi.symphony.ai.database section of the yaml will automatically be generated when deploying. Otherwise, you will be required to point to a database for AI.
Use Existing Secrets in Symphony
The Logi Symphony helm chart contains dependent helm charts for managed and discovery, each with its own way of handling existing secrets. The global.logi.symphony.existingSecret
property was created to allow you to set one secret for all the mentioned subcharts, and the subchart will use this key when setting everything up. There are a number of keys expected to be in this global secret: see the complete readme at https://repo-logisymphony.insightsoftware.com/helm-charts/.
Comments
0 comments
Please sign in to leave a comment.