Install Helm charts#
Make sure you are in the working directory with the Kubernetes files:
cd /var/lib/luna/lvm-current/extras/k8s/
Helm chart setting#
The supplied Helm charts are not suitable for full operation in the production loop. You need to customize the charts according to your business logic before installing them.
Configure in the luna-<service-name>/values.yaml files all the necessary parameters, especially paying attention to:
resourcessection for specifying resources (e.g. CPU and memory) for the service containers.ingresssection to configure routing of incoming traffic to the service.pullSecretsparameter in theimagesection to specify the secret to be used when extracting the container image from the registry (see "Create Docker registry authentication secret" in the "Additional information" section).
Note: It is recommended to configure the nginx.ingress.kubernetes.io/proxy-body-size annotation to the API service (or any other service to which image requests are sent) depending on the size requirements of the images being transmitted. The API service Helm chart gives an example of how to use this annotation.
These settings play an important role in ensuring the performance and availability of your application in a productive environment.
Start installation of Helm charts#
Run the Helm charts installation for the required services using the following commands:
helm install --wait --timeout 10m luna-python-matcher-proxy ./luna-python-matcher-proxy
helm install --wait --timeout 10m luna-vinder-projector ./luna-vinder-projector
helm install --wait --timeout 10m luna-vinder-matcher ./luna-vinder-matcher
After installing Helm charts, it is recommended that you thoroughly test LUNA Vinder Module in an environment that meets your performance and security requirements.