Kubernetes
In this chapter, we will guide you through deploying the service on Kubernetes. We provide a Helm chart to simplify this process.
Prerequisites
Before you begin, make sure you have the following:
- Kubernetes Cluster: A running Kubernetes cluster.
If you don’t have one, you can set up a local cluster using Minikube or Kind, or use a cloud provider like GKE, EKS, or AKS.
- Helm: Helm installed on your local machine.
Follow the official Helm installation guide if you haven’t installed Helm yet.
- kubectl: Kubernetes command-line tool
kubectl
installed and configured to communicate with your cluster. You can install
kubectl
by following the official Kubernetes installation guide.
- kubectl: Kubernetes command-line tool
Deploying the Service on Kubernetes
To deploy the service on Kubernetes, follow the instructions below.
Accessing the Helm Chart
The Helm chart for deploying the service on Kubernetes is available here:
Modifying values.yaml
Before installing the Helm chart, you need to adapt the values.yaml
file to
fit your specific requirements, especially the ingress
configuration.
Modifying the ingress
Section
To change the ingress
configuration, follow these steps:
Get the default values
helm show values lomas/lomas-server > values.yaml
Edit values.yaml file
Save the Changes
Installing the Helm Chart
Once you have modified the values.yaml
file, you can proceed
to install the Helm chart with your custom configurations:
Install the Helm Chart
Navigate to the directory containing the modified
values.yaml
file and run the following command:helm install lomas-sever lomas/lomas-server -f values.yaml
By following these steps, you will have successfully configured and deployed the service on Kubernetes using the provided Helm chart.