KubeDB - SUSE/scf GitHub Wiki
KubeDB:
KubeDB can operate in following fashions to provision databases:
-
Using CRDs directly:
Here are the instructions to install KubeDB operator using
helm -
Using Service Broker interface:
As per the official docs, KubeDB can be managed through the service broker shipped by AppsCode
Note: The instructions have been verified by deploying KubeDB on EKS cluster using both approaches.
Pros:
- Create a database declaratively using
CRDas opposed to deployinghelmcharts. - Claims production readiness
- Support for Backup/Restore to various cloud stores, eg, S3, GCS, Azure etc
- Native integration with Prometheus for monitoring via CoreOS Prometheus Operator
- Apply deletion lock to avoid accidental deletion of database
- Support for ElasticSearch and Memcached services
- Active community and better support
Cons:
- Resource overhead on the cluster(though actual resource estimation should be done)
- Added complexity of introducing ServiceCatalog for service broker
Further investigations/action-items:
- Verifying KubeDB deployment using the service broker interface alongside
scfand making it available tocf api - Investigate if the
appscode/service-brokercan be deployed independently of theServiceCatalog - Performing tests to ensure database provisioning using
KubeDBincf - Checking if KubeDB can be managed using any other OSB compliant service-brokers