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.
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
docker login -u <username> -p <password> registry.dl.kx.com
Running in Kubernetes
To run within Kubernetes there are number of prerequisites
- helm should be installed
- kubectl should be installed
- gcloud/aws cli/azure CLI installed and authorized to the appropriate Kubernetes cluster
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" 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 \
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