Skip to content

Prequisites

To run the KXI 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 KXI Discovery Service to run

KDB License

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

export KDB_LICENSE_B64=`base64 -w 0 $QLIC/kc.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 tech-insights@kx.com

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

Running in Kubernetes

To run within Kubernetes there are number of pre-requisites

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

  • Add the Kx Helm chart 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