OSRM-Operator

command module
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2025 License: MIT Imports: 13 Imported by: 0

README

OSRMCluster Operator

A kubernetes operator to deploy and manage OSRM routing engine clusters. This operator efficiently deploys OSRM 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/OSRM-Operator/releases/latest/download/osrm-cluster-operator.yaml

Then you can deploy an OSRMCluster:

kubectl apply -f https://github.com/itayankri/OSRM-Operator/blob/master/examples/multi_profile_osrm_cluster.yaml

Pausing the Operator

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

osrm.itayankri/operator.paused: "true"

The operator will not react to any changes to the OSRMCluster resource or any of the watched resources. If a paused OSRMCluster 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 osrm v1alpha1 API group +kubebuilder:object:generate=true +groupName=osrm.itayankri
Package v1alpha1 contains API Schema definitions for the osrm v1alpha1 API group +kubebuilder:object:generate=true +groupName=osrm.itayankri
internal

Jump to

Keyboard shortcuts

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