Deltares / overstroomik-service

Backend for new overstroomik.nl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

overstroomik-service

image

Updates

Kubernetes Deployment for overstroomik backend

  • backend folder for Python app
  • etl folder for data migration and geoserver configuration
  • geoserver folder for GeoServer installation

Running

We make use of Docker and Docker-compose:

docker-compose up -d

To run integration tests

docker-compose exec backend bash scripts/test.sh

No tests should fail, nor should there be any skipped tests.

Running in a Kubernets cluster

A helm chart is available to install Overstroomik in a Kubernetes cluster:

helm install overstroomik helm/overstroomik

By default ingress is disabled. port-forward can be used to access the pods in your local cluster. First get the name of the deployed pod:

kubectl get pods

Create port-forward to access the pod from localhost. Geoserver is running on port 8080 and the backend on 80:

kubectl port-forward <podname> <local port>:<pod port>

Ingress and autoscaling can be enabled in helm/values.yaml. Update the installation with changed configuration:

helm upgrade overstroomik helm/overstroomik

Delete the instalation:

helm delete overstroomik

About

Backend for new overstroomik.nl

License:MIT License


Languages

Language:Python 50.5%Language:Jupyter Notebook 37.7%Language:Makefile 4.0%Language:Smarty 2.3%Language:Scheme 2.1%Language:Dockerfile 1.9%Language:Batchfile 1.0%Language:Shell 0.6%