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
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
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.
Top comments (0)