This repository contains a Helm Chart for deploying Morph-KGC (tested with v2.8.0) on Kubernetes.
Choose between deploying with a CronJob at specified intervals or as a one-time deployment.
- To enable deployment with specified intervals, modify the cronJob.enabled parameter to true and set the desired schedule. For example, to deploy every minute:
cronJob:
enabled: true
schedule: "* * * * *"
In this example:
- The first asterisk represents minutes and * means "every minute".
- The second asterisk represents hours and * means "every hour".
- The third asterisk represents days of the month and * means "every day".
- The fourth asterisk represents months and * means "every month".
- The fifth asterisk represents days of the week and * means "every day of the week".
Ensures that the config.ini
and mappings.yaml
files are treated as ConfigMaps, with names specified in values.yaml
.
Users can manually create ConfigMaps using:
$ kubectl create configmap configmap-config --from-file=config.ini
$ kubectl create configmap configmap-mappings --from-file=mappings.yaml
The configuration includes automatic mounting of files in the container:
config.ini
is mounted at/app/config
.- The mappings file is mounted at
/app/config/files
.
Note: Ensure that the config.ini
file contains references to the mappings file starting with config/files/
.
First, add the Helm repository:
$ helm repo add morph-kgc-helm https://candil-data-fabric.github.io/morph-kgc-helm/
Then, install the Helm Chart:
$ helm install morph-kgc morph-kgc-helm/morph-kgc
The chart will be installed using the default values. Use the provided values.yaml
file in this repository as template to upgrade the installation with your desired parameters:
$ helm upgrade morph-kgc -f myvalues.yaml
To uninstall the Helm Chart, run the following command:
$ helm uninstall morph-kgc
First, clone the repository:
$ git clone https://github.com/candil-data-fabric/morph-kgc-helm.git
Once cloned, edit the values.yaml
file to match your deployment needs and run the following command:
$ helm install morph-kgc .
To uninstall the Helm Chart, run the following command:
$ helm uninstall morph-kgc