valhalla-operator

command module
v1.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2023 License: MIT Imports: 11 Imported by: 0

README

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 demo.

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.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
api
v1alpha1
Package v1alpha1 contains API Schema definitions for the valhalla v1alpha1 API group +kubebuilder:object:generate=true +groupName=valhalla.itayankri
Package v1alpha1 contains API Schema definitions for the valhalla v1alpha1 API group +kubebuilder:object:generate=true +groupName=valhalla.itayankri
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL