Charts used by Helm to manage Kubernetes.
To see how to use the Senzing Helm Charts in practice, visit kubernetes-demo.
Using helm repo add. Example:
helm repo add senzing 'https://hub.senzing.com/charts/'
Using helm repo list. Example:
helm repo list
Using helm search. Example:
helm search senzing
Using helm repo remove Example:
helm repo remove senzing
Using these environment variable values:
export GIT_ACCOUNT=senzing
export GIT_REPOSITORY=charts
export GIT_ACCOUNT_DIR=~/${GIT_ACCOUNT}.git
export GIT_REPOSITORY_DIR="${GIT_ACCOUNT_DIR}/${GIT_REPOSITORY}"
Then follow steps in clone-repository.
:pencil2: List docker images in an environment variable. Example:
export CHART_NAMES=( \
"arey-mysql-client" \
"coleifer-sqlite-web" \
"confluentinc-cp-kafka" \
"db2-client" \
"ibm-db2-driver-installer" \
"microsoft-mssql-tools" \
"senzing-api-server" \
"senzing-apt" \
"senzing-base" \
"senzing-common" \
"senzing-configurator" \
"senzing-console" \
"senzing-entity-search-web-app" \
"senzing-ibm-db2" \
"senzing-init-postgresql" \
"senzing-postgresql-client" \
"senzing-redoer" \
"senzing-resolver" \
"senzing-stream-loader" \
"senzing-stream-producer" \
"senzing-yum" \
"swaggerapi-swagger-ui" \
)
Single chart.
:pencil2: Identify chart.
export CHART_NAME=senzing-hello-world
Using helm lint. Example:
cd ${GIT_REPOSITORY_DIR}/charts/${CHART_NAME}
helm lint
Public charts using helm lint. Example:
for CHART_NAME in ${CHART_NAMES[@]}; \
do \
cd ${GIT_REPOSITORY_DIR}/charts/${CHART_NAME}; \
pwd; \
helm dependency update ${GIT_REPOSITORY_DIR}/charts/${CHART_NAME}; \
helm lint; \
done
Single chart.
:pencil2: Identify chart.
export CHART_NAME=senzing-hello-world
Using helm template. Example:
cd ${GIT_REPOSITORY_DIR}/charts/${CHART_NAME}
helm template .
Public charts using helm template. Example:
for CHART_NAME in ${CHART_NAMES[@]}; \
do \
cd ${GIT_REPOSITORY_DIR}/charts/${CHART_NAME}; \
printf "\n"
printf "# ----------------------------------------------------------------\n"
printf "# $(pwd)\n"; \
printf "# ----------------------------------------------------------------\n\n"
helm template .; \
done
Single chart. Example:
:pencil2: Identify chart.
export CHART_NAME=senzing-hello-world
Using helm dependency update, helm package, and helm repo index. Example:
cd ${GIT_REPOSITORY_DIR}/docs
helm dependency update ${GIT_REPOSITORY_DIR}/charts/${CHART_NAME}
helm package ${GIT_REPOSITORY_DIR}/charts/${CHART_NAME}
helm repo index .
Public charts using helm dependency update, helm package, and helm repo index. Example:
cd ${GIT_REPOSITORY_DIR}/docs
for CHART_NAME in ${CHART_NAMES[@]}; \
do \
helm dependency update ${GIT_REPOSITORY_DIR}/charts/${CHART_NAME}
helm package ${GIT_REPOSITORY_DIR}/charts/${CHART_NAME}; \
done
helm repo index .