Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 1.25 KB

README.md

File metadata and controls

21 lines (18 loc) · 1.25 KB

Valhalla Kubernetes Operator

A kubernetes operator to deploy and manage Valhalla routing engine. This operator efficiently deploys Valhalla instances by sharing map data accross all pods of a specific instance.

Quickstart

First, make sure you have a running Kubernetes cluster and kubectl installed to access it. Then run the following command to install the operator:

kubectl apply -f https://github.com/itayankri/valhalla-operator/releases/latest/download/valhalla-operator.yaml

Then you can deploy a Valhalla instance:

kubectl apply -f https://github.com/itayankri/valhalla-operator/blob/master/examples/example.yaml

For a full setup from scratch checkout this Medium.

Pausing the Operator

The reconciliation can be paused by adding the following annotation to the Valhalla resource:

valhalla.itayankri/operator.paused: "true"

The operator will not react to any changes to the Valhalla resource or any of the watched resources. If a paused Valhalla resource is deleted, the dependent resources will still be cleaned up because thay all have an ownerReference.