DigitalOcean Kubernetes (DOKS) is a managed Kubernetes service. Deploy Kubernetes clusters with a fully managed control plane, high availability, autoscaling, and native integration with DigitalOcean Load Balancers and volumes. You can add node pools using shared and dedicated CPUs, and NVIDIA H100 GPUs in a single GPU or 8 GPU configuration. DOKS clusters are compatible with standard Kubernetes toolchains and the DigitalOcean API and CLI.
When creating a new Kubernetes cluster on DigitalOcean, you can now facilitate its integration with managed databases by adding a database operator, now available in beta. The database operator allows you to automatically link new databases to your Kubernetes cluster and manage them.
For detailed information on using the operator during its beta, see our up-to-date documentation on GitHub.
Once you add the database operator to your Kubernetes cluster, it runs in the DigitalOcean Kubernetes control plane. So, you cannot see the operator’s deployment or configuration, only the installation of the following CRDs:
DatabaseCluster
CRD, which allows you to manage the database cluster.DatabaseClusterReference
CRD, which allows you to connect to an existing database.DatabaseUser
CRD, which allows you to manage the database’s users.DatabaseUserReference
CRD, which allows you to get credentials for an existing user.To interface with the database operator, you must choose an architecture. This architecture defines the operator configuration that best suits your use case. We recommend one of the following:
Managed Database Architecture, which manages your database automatically, but expects that your database be exclusively used by one Kubernetes cluster and that the data’s lifecycle matches the cluster’s – for example, with a Redis cache.
Referenced Database Architecture, which allows for the database to interface with many Kubernetes clusters and ensures the posterity of the database, but requires separate management for the database, such as via Terraform.
The Managed Database Architecture is the more convenient architecture for specific use cases, such as caching. It has the following properties:
To best visualize the connection between your Kubernetes cluster and the database operator with this architecture, reference the following diagram while reading our beta documentation.
The Referenced Database Architecture is our recommended architecture for the widest variety of use cases. It has the following properties:
To best visualize the connection between your Kubernetes cluster and the database operator with this architecture, reference the following diagram while reading our beta documentation.