530
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
[KUBE](../README.md) / Test
|
||||
|
||||
# Test
|
||||
|
||||
> [!NOTE]
|
||||
> Testing the operation of individual units or the entire system.
|
||||
|
||||
## Commands
|
||||
|
||||
### `--test <option>`
|
||||
Options:
|
||||
- `mariadb` - A database with a random name is created on the master device and the existence of the created database is checked on the slave device.
|
||||
- `redis` - A key with a random name is created on the master and the existence of the created key is verified on the replicas.
|
||||
- `site` - A site is created (without `WordPress`). MariaDB (a database and user are created). `Redis` (a user is created). The site is opened via HTTP (the response code is checked). The site is deleted.
|
||||
- `wordpress` - A WordPress site is created. `MariaDB` (a database and user are created). `Redis` (a user is created). The site is opened via HTTP (the response code is checked). The site is deleted.
|
||||
- `mailint` - Internal test of sending a letter from one user to another.
|
||||
- `mailext` - Test sending a letter to the specified address (In progress...)
|
||||
|
||||
Example:
|
||||
```bash
|
||||
sudo kube.sh --test mariadb
|
||||
sudo kube.sh --test redis
|
||||
sudo kube.sh --test mailint
|
||||
```
|
||||
Reference in New Issue
Block a user