restful-distributed-lock-manager

by stakater

Helm chartv1.0.4App 1.0.2Verified publisher

Helm Chart for Restful Distributed Lock Manager

About this chart

restful-distributed-lock-manager

RDLM (Restful Distributed Lock Manager) is a lock manager over HTTP built on Tornado.

Special features

  • RESTful interface
  • Timeout automatic management (to avoid stale locks)
  • Blocking wait for acquiring a lock (with customatizable timeout)
  • Very fast (in memory)
  • One unique single threaded process
  • Can deal with thousands of locks and simultaneous connections
  • Administrative password protected requests

Helm Charts

If you have configured helm on your cluster, you can add rdlm to helm from helm public chart repository and deploy it via helm using below mentioned commands

helm repo add stable https://kubernetes-charts.storage.googleapis.com/

helm repo update

helm install stable/rdlm

Usage

The following quickstart let's you set up restful-distributed-lock-manager

Update the values.yaml and set the following properties

KeyDescriptionExampleDefault Value
rdlm.labelsLabels for deploymentprovider: stakaterprovider: stakater
rdlm.deployment.replicasNumber of replicas11
rdlm.deployment.podLabelsPod labels{}{}
rdlm.deployment.container.namecontainer namerdlmrdlm
rdlm.deployment.container.imageNameImage name for rdlmstakater/restful-distributed-lock-managerstakater/restful-distributed-lock-manager
rdlm.deployment.container.imageTagImage tag for rdlm0.5.30.5.3
rdlm.deployment.container.portport to expose rdlm80808080
rdlm.deployment.container.targetPortcontainer targetPort for rdlm88888888

Deploy restful-distributed-lock-manager with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has restful-distributed-lock-manager on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartrestful-distributed-lock-manager is pinned at v1.0.4 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply