The installation files can be obtained from the project root, then navigate to the following path:

kb-orch/kubernetes/kb-onprem-umbrella-helm-chart

Export environment variables

export NAMESPACE=kb # Namespace to deploy KB services in the kubernetes cluster

export NODE_IP=xx.xx.xx.xx # Kubernetes single node cluster machine IP

export NODE_PORT=30000 # Any port number between 30000 and 32767

export KB_SPIDER_DB_PATH= # Path to kb spider postgres db data in the host machine (Ex: <Path-to-extracted-folder>/var/lib/postgresql/basebackup/kb_spider_api)

export KB_MATCH_DB_PATH= # Path to kb match postgres db data in the host machine (Ex: <Path-to-extracted-folder>/var/lib/postgresql/basebackup/ikb_match/iscan_v7)

export KB_SNIPPET_DB_PATH= # Path to kb snippet postgres db data in the host machine (Ex: <Path-to-extracted-folder>/var/lib/postgresql/basebackup/snippet_db)

export KB_SEARCH_DATA_PATH= # Path to KB search data in the host machine (Ex: <Path-to-extracted-folder>/data)

export KB_FINGERPRINTS_DATA_PATH= # Path to kb snippet flatfiles data in the host machine (Ex: <Path-to-extracted-folder>/fingerprints)

Create the Namespace

Create a namespace to install all KB services:

kubectl create ns ${NAMESPACE}

Installing KB umbrella helm chart

Run the command below to install all KB services:

envsubst < values.yaml | helm install kb . -n ${NAMESPACE} -f -