Skip to content

A kubernetes operator for Valhalla routing engine

License

Notifications You must be signed in to change notification settings

Autofleet/valhalla-operator

This branch is up to date with itayankri/valhalla-operator:master.

Folders and files

NameName
Last commit message
Last commit date
Oct 15, 2022
Sep 15, 2023
Jan 13, 2023
Jun 25, 2023
Feb 2, 2023
Nov 18, 2022
Oct 1, 2022
Jun 25, 2023
Oct 1, 2022
Oct 13, 2022
Oct 14, 2022
Sep 9, 2022
Oct 14, 2022
Oct 9, 2022
Sep 15, 2023
Sep 16, 2023
Sep 16, 2023
Oct 9, 2022

Repository files navigation

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.

About

A kubernetes operator for Valhalla routing engine

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 85.7%
  • Makefile 10.8%
  • Shell 2.2%
  • Dockerfile 1.3%