A KeyDB Operator for Kubernetes

jobcespedes

Job Céspedes Ortiz

Posted on January 23, 2022

A KeyDB Operator for Kubernetes

KeyDB is a multithreading, drop-in alternative to Redis. The Keydb-operator can easily create either a standalone instance (1 replica) or a multimaster setup (3 replicas) of the KeyDB in-memory database. When KeyDB is in multimaster mode, it is possible to have more than one master, allowing for read/write operations across all of them. This capability enhances high availability and fault tolerance.

This operator is part of the Kubernetes operators and tools developed by Krestomatio, a managed service for Moodle™ instances

Install

The Kubernetes Operator in this project is in Alpha version. Use at your own risk

Check out the sample CR. Follow the next steps to first install the KeyDB Operatorn and then a KeyDB instance:

# install the operator
make deploy

# create KeyDB instance from sample
kubectl apply -f config/samples/keydb_v1alpha1_keydb.yaml

# follow/check KeyDB operator logs
kubectl -n keydb-operator-system logs -l control-plane=controller-manager -c manager  -f

# follow sample CR status
kubectl get keydb keydb-sample -o yaml -w
Enter fullscreen mode Exit fullscreen mode

Uninstall

Follow the next steps to uninstall it.

# delete the KeyDB object
# CAUTION with data loss
kubectl delete -f config/samples/keydb_v1alpha1_keydb.yaml

# uninstall the operator
make undeploy
Enter fullscreen mode Exit fullscreen mode

Advanced Options

For different or advanced configuration via the CR spec, take a look at the variables available

Want to contribute?

  • Use github issues to report bugs, send enhancement, new feature requests and questions

About Krestomatio

Krestomatio is a managed service for Moodle™ e-learning platforms. It allows you to have open-source instances managed by a service optimized for Moodle™, complete with an additional plugin pack and customization options.

💖 💪 🙅 🚩
jobcespedes
Job Céspedes Ortiz

Posted on January 23, 2022

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related

A KeyDB Operator for Kubernetes
kubernetes A KeyDB Operator for Kubernetes

January 23, 2022