Skip to content

Commit

Permalink
Update kubernetes and database docs
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Oct 18, 2024
1 parent 3b0b538 commit aa0721e
Show file tree
Hide file tree
Showing 5 changed files with 54 additions and 16 deletions.
49 changes: 49 additions & 0 deletions 2.0/docs/databases/index.md
Original file line number Diff line number Diff line change
@@ -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.
6 changes: 1 addition & 5 deletions 2.0/docs/kubernetes/demo.md
Original file line number Diff line number Diff line change
@@ -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.
10 changes: 1 addition & 9 deletions 2.0/docs/kubernetes/index.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Clusters
# Kubernetes

## Overview

Expand All @@ -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.
3 changes: 2 additions & 1 deletion 2.0/docs/kubernetes/infrastructure.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion 2.0/docs/oss.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit aa0721e

Please sign in to comment.