Skip to content

Latest commit

 

History

History
43 lines (28 loc) · 1.23 KB

README.md

File metadata and controls

43 lines (28 loc) · 1.23 KB

titiler-aks

This repository manages deployment of titiler to AKS.

Setup

Run the deploy.sh script to setup Traefik load balancer with 3 titiler pods.

Run delete.sh to cleanup the Kubernetes environment.

Update titiler Docker image to AKS

Docker image will be deployed to Github Package by docker-image.yaml when tag version vX.X.X is created.

Update tag version of titiler-aks in manifest.yml, then execute the following commands to apply.

kubectl config use-context GeoKube01
kubectl config set-context $(kubectl config current-context) --namespace=titiler-dev
kubectl apply -f manifest.yml --namespace titiler-dev

When you applied manifest.yml, replacement of pods might fail because of insufficient error. In such case, you may need to adjust number of replicas or memory size for each pods. Or you may need to increase maximum node pools of the cluster.

References

Develop

pipenv install
pipenv shell
(titiler-aks) cd titiler/app
(titiler-aks) pipenv run dev

or

cd titiler/dockerfiles
docker-compose up