From aa0721e6c03bad8d54e154eea5bba95861740baf Mon Sep 17 00:00:00 2001 From: Chingis Sandanov Date: Fri, 18 Oct 2024 17:00:58 +0300 Subject: [PATCH] Update kubernetes and database docs --- 2.0/docs/databases/index.md | 49 +++++++++++++++++++++++++++ 2.0/docs/kubernetes/demo.md | 6 +--- 2.0/docs/kubernetes/index.md | 10 +----- 2.0/docs/kubernetes/infrastructure.md | 3 +- 2.0/docs/oss.md | 2 +- 5 files changed, 54 insertions(+), 16 deletions(-) diff --git a/2.0/docs/databases/index.md b/2.0/docs/databases/index.md index 2e6dbb4..c1a9a32 100644 --- a/2.0/docs/databases/index.md +++ b/2.0/docs/databases/index.md @@ -1,4 +1,53 @@ # Databases +Databases represent following database management instances: +1. Container-based, deployed as a part of your applications deployment +2. External managed databases instances +Databases provide a layer for managing access to your DBMS, databases, backups and imports. + +For #2 we currently support the following managed database solutions: + +- [GCP Cloud SQL for MySQL and PostgreSQL](../integrations/gcp.md#cloud-sql) +- [AWS RDS](../integrations/aws.md#rds) +- [Azure Databases](../integrations/azure.md#databases) +- [DigitalOcean Managed Databases](../integrations/digitalocean.md#managed-database) + +A database is a sharable entity and can be shared to multiple projects. + +A database has an [environment](../apps/env.md), for container-based databases the environment will be set to the same as instance's. + +Right now we support the following database engines: + +- MySQL +- MariaDB +- PostgreSQL + +## DBs + +You can create and delete individual databases (DB) in your database management system. + +To create a new database you need to specify a name, charset and a collation. + +## Users + +You can create and delete individual users of your database management system from _"Databases > [Database] > Users"_ page. + +To create a new user enter the username, password and DBs the user need to have access to. + +## Backups + +From _"Databases > [Database] > Backup"_ you can run backups (different from snapshot) for individual DBs. When preparing a new backup, you can select on of the backup presets for this database or an organization-wide backup preset. Backup preset allow you to save time on entering backup destination details. + +## Import + +From _"Databases > [Database] > Import"_ you can run import for individual DBs. You can either: + +- Upload your backup archive from the dashboard +- Specify a public URL where the backup archive can be downloaded from +- Specify existing backup + +## Reside with Kubernetes + +When creating a new external managed database, you can choose a Kubernetes cluster to reside this database with. The Kubernetes cluster must be created from the same integration as the database. When selected it will use the same cloud network as the Kubernetes cluster for private connections. diff --git a/2.0/docs/kubernetes/demo.md b/2.0/docs/kubernetes/demo.md index 575c039..b5e9291 100644 --- a/2.0/docs/kubernetes/demo.md +++ b/2.0/docs/kubernetes/demo.md @@ -1,7 +1,3 @@ # Demo Kubernetes Cluster -Wodby provides a Demo Kubernetes cluster for testing purposes. The cluster is free and has the following limitations: - -- all app services have CPU limit of 150 millicores and 256Mi memory limit -- total limit per organization is 1500 millicores and 2560Mi memory -- all applications deployed to the demo cluster will be automatically deleted after 12 hours +Wodby provides an option to spin-up a Demo Kubernetes cluster for testing purposes. The cluster is temporary and will be destroyed in 12 hours with all applications. On a new app form Step 2 Select "Wodby" and then temporary cluster. diff --git a/2.0/docs/kubernetes/index.md b/2.0/docs/kubernetes/index.md index 96f0224..92d8b00 100644 --- a/2.0/docs/kubernetes/index.md +++ b/2.0/docs/kubernetes/index.md @@ -1,4 +1,4 @@ -# Clusters +# Kubernetes ## Overview @@ -16,11 +16,3 @@ When you delete a cluster from Wodby we will also delete it from your cloud prov !!! warning "Do not modify your cluster from cloud provider panel" Clusters created from Wodby should not be modified directly from a cloud provider panel. This will lead to unexpected errors. - -## Single Server Kubernetes - -Unlike Wodby 1.0, Wodby 2.0 does not yet support single server Kubernetes clusters, but we have plans to introduce it to. - -## Connecting Existing Kubernetes Cluster - -Connecting existing Kubernetes clusters to Wodby is not currently supported, but we have plans to introduce it to. diff --git a/2.0/docs/kubernetes/infrastructure.md b/2.0/docs/kubernetes/infrastructure.md index 459b1ce..64df8f0 100644 --- a/2.0/docs/kubernetes/infrastructure.md +++ b/2.0/docs/kubernetes/infrastructure.md @@ -1,6 +1,7 @@ # Kubernetes cluster infrastructure -We manage Kubernetes cluster capabilities by deploying special system application – infrastructure applications during a cluster creation. Right now, we deploy: +We manage Kubernetes cluster capabilities by deploying special system application – infrastructure applications during a cluster creation. Right now, we deploy the following stacks: - Ingress Nginx - Monitoring +- (for AWS only) AWS Load Balancer controller diff --git a/2.0/docs/oss.md b/2.0/docs/oss.md index 01ebd6c..4fdac62 100644 --- a/2.0/docs/oss.md +++ b/2.0/docs/oss.md @@ -3,7 +3,7 @@ We at Wodby try to open-source most of our work. Our docker images are public and available at https://hub.docker.com/r/wodby, this documentation and docker4x projects for [local](local/index.md) development are available publicly on GitHub: https://github.com/wodby - [Documentation](https://github.com/wodby/docs) -- [WP CLI](https://github.com/wodby/wodby-cli) +- [Wodby CLI](https://github.com/wodby/wodby-cli) - [Docker4Drupal](https://github.com/wodby/docker4drupal) - [Docker4WordPress](https://github.com/wodby/docker4wordpress) - [Docker4PHP](https://github.com/wodby/docker4php)