NMR Kit comes packaged with Helm chart which simplifies the deployment and management of applications on Kubernetes by providing a convenient package manager interface. By following the steps outlined in this documentation, you can easily deploy this microservice using Helm, enabling efficient and reproducible deployments in your Kubernetes cluster.
The chart is packaged with below additional services as subcharts, which can be enabled or disabled via the value.yml file.
If you are new to Helm, please refer to Helm’s documentation to get started.
Prerequisites:
Before proceeding with the deployment, ensure that you have the following:
Kubernetes cluster: Set up a functioning Kubernetes cluster with kubectl configured to interact with the cluster. Helm: Install Helm on your local machine or the machine from which you'll be deploying the application.
helm repo add repo-helm-charts https://nfdi4chem.github.io/repo-helm-charts/
If you had already added this repo earlier, run helm repo update
to retrieve the latest versions of the packages. You can then run helm search repo repo-helm-charts
to see the charts.
helm install myrelease repo-helm-charts/nmrkit
The release name (myrelease in this example) is used to identify the deployment, and it must be unique within the Kubernetes cluster. The above command with deploy the service with the default configuration provided in values.yml file. To overwrite the default configuration please follow this link to learn more.
kubectl get pods
kubectl get services
helm upgrade
command to apply the changes to the existing release e.g.helm upgrade myrelease repo-helm-charts/nmrkit-0.0.2
helm uninstall myrelease
This will delete all resources created by the chart, including pods, services, and any other Kubernetes objects.
Thank you for your valuable assistance in enhancing our deployment process. If you would like to contribute, kindly create a pull request in our GitHub repository. For any issues or bugs you have encountered, please feel free to create an issue or reach out to us via our Help Desk. Your feedback is greatly appreciated.