Deploy NuoDB Control Plane
NuoDB Control Plane allows users to provision NuoDB databases on-demand remotely using REST services by exposing various predefined configuration options.
This page describes how to deploy the NuoDB Control Plane into your Kubernetes Cluster. The NuoDB Control Plane works with Kubernetes locally or in the cloud. Follow the steps in this guide regardless of the selected Kubernetes platform provider.
Prerequisites
- A running Kubernetes cluster
- kubectl installed and able to access the cluster.
- Helm 3.x installed.
Software Dependency Installation
Install Cert Manager
To enable admission webhooks in the NuoDB operator, install cert-manager to automatically generate certificates for the webhook server.
Add the official Helm repositories.
Install Cert Manager Helm chart.
Install Ingress Controller
NuoDB databases support external access from clients that are outside of Kubernetes cluster. The NuoDB Control Plane (CP) can be configured to allow external connections to the REST service to create domains and databases. It configures databases with external access also, providing connection details for each database.
NuoDB CP supports Ingress Nginx and HAProxy ingress controllers. The SSL-passthrough feature is used to expose and multiplex SQL database connectivity.
Add the official Ingress Nginx Helm repositories.
Install Ingress Nginx Controller.
Generate TLS certificates for Ingress Controller.
Caution
Self-signed certificates should be used for local testing purposes only. For more information on how to configure Nginx controller with TLS, see Ingress Nginx TLS User Guide.
Installing NuoDB Control Plane
The NuoDB Control Plane consists of Custom Resource Definitions and the following workloads:
- The NuoDB CP Operator, which enforces the desired state of the NuoDB custom resources.
- The NuoDB CP REST service, that exposes a REST API allowing users to manipulate and inspect DBaaS entities.
Databases are grouped into projects, which are themselves grouped into organizations.
Note
By default the NuoDB CP will operate in a single namespace only which will be used for NuoDB CP and all databases created by it.
Add the official Helm repositories.
Install NuoDB CP Helm charts.