Skip to content

Prerequisites

To run the Discovery Service may require a number of initial setup steps taken to allow access to various repositories and/or setting up tools to allow the Discovery Service to run.

kdb+ license

It will be necessary to provide a kdb+ license to run any kdb Insights service. Typically this is provided as a base64 string into the container or secret appropriately.

export KDB_LICENSE_B64=`base64 -w0 $QLIC/kx.lic`

Running in Docker

To run in Docker, it will be necessary to authenticate with the KX Docker repository - registry.dl.kx.com. To gain access please contact KX at licadmin@kx.com

docker login -u <username> -p <password> registry.dl.kx.com

Running in Kubernetes

To run within Kubernetes there are number of prerequisites

In addition to these basic tools, additional steps to gain access to the kdb Insights artifacts are required

  • Add the KX Nexus repository to your helm install
helm repo add --username <username> --password <password> \ 
    kxi-repo https://nexus.dl.kx.com/repository/kx-insights-charts/
"kxi-repo" has been added to your repositories
  • Update your helm repo local chart cache
helm repo update
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "internal-insights" chart repository
Update Complete. ⎈Happy Helming!⎈
  • Add a secret to your cluster to allow access to the images
kubectl create secret docker-registry kx-repo-access \
    --docker-username=<username> \
    --docker-password=<password> \
    --docker-server=registry.dl.kx.com

Note

In the case above the secret kx_repo_access has been created. When deploying the charts it will be necessary to reference this secret in the imagePullSecrets within the install-config.yaml