Skip to content

Latest commit

 

History

History

README.md

Mapstore Helm Chart

Helm Chart Installation

Chart deployment

  1. Clone the helm chart repo
git clone https://github.com/geosolutions-it/charts.git
cd charts/mapstore/latest
  1. Within the root of the helm chart, create a custom values.yaml file
cp ./values.yaml ./custom-values.yaml
  1. Once the custom-values.yaml is ready and suits the configuration needs, the helm chart can be deployed like this:
helm install mapstore . --values ./custom-values.yaml

Note: For the K8s Ingress to work and Mapstore be directly exposed on a public IP address, make sure you have a working Ingress Controller configured in your the cluster.

kubectl get ingress

Should give you the IP address at which you can contact Mapstore as shown below.

image

Testing

For a quick test create a Port Forward to the Mapstore Pod

  1. Create a Port Forward to mapstore. For instance:
kubectl port-forward mapstore-0 8080:8080
  1. Open your browser and navigate to http://localhost:8080/mapstore. You can see the User interface of Mapstore same like below screenshot.
  • Use the default credentials (admin / admin) to login and start creating your maps!

image

Notes on specific clouds

AWS

In case of deploying this chart on EKS the mapstore service will be most likely exposed with AWS's ingress of kind alb. When using alb as an ingress backend, the service must be exposed as NodePort and not ClusterIP, which is the more generic default. So this piece in values.yaml becomes from this:

service:
  type: ClusterIP
  port: 80

To this:

service:
  type: NodePort
  port: 80

Reference: https://docs.aws.amazon.com/eks/latest/userguide/alb-ingress.html