-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #181 from percona/1.4.0
Release branch 1.4.0
- Loading branch information
Showing
61 changed files
with
1,312 additions
and
418 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
# Namespaces management | ||
|
||
The management of namespaces plays a vital role in efficiently organizing and allocating resources within Percona Everest. | ||
|
||
## Add new namespaces | ||
|
||
You can run the following command for provisioning a new DB namespace: | ||
|
||
```sh | ||
everestctl namespaces add [NAMESPACE] | ||
``` | ||
|
||
The command supports the following flags: | ||
|
||
`--operator.mongodb=<bool>` | ||
|
||
`--operator.postgresql=<bool>` | ||
|
||
`--operator.xtradb-cluster=<bool>` | ||
|
||
`--take-ownership` - Allows Percona Everest to manage an existing Kubernetes namespace by adding the necessary labels. Without this flag, Percona Everest will attempt to create the namespace and throw an error if it already exists. Use this flag to take over an existing namespace. | ||
|
||
??? example "Example" | ||
```sh | ||
everestctl namespaces add development --operator.postgresql=false | ||
✓ Installing namespace 'development' | ||
``` | ||
In the above command, we did not specify the MongoDB and MySQL operators. Therefore, by default, Percona Everest assumes these operators are true and will add them. | ||
|
||
```sh | ||
everestctl namespaces add production | ||
|
||
? Which operators do you want to install? MongoDB | ||
✓ Installing namespace 'production' | ||
``` | ||
|
||
!!! note | ||
The `everestctl install` command allows you create database namespaces during the initial installation. However, it cannot be rerun to add more database namespaces. To create additional database namespaces after installation, use the namespaces add command. | ||
|
||
- To provision a DB namespace after installation, use the command `everestctl namespaces add`. | ||
|
||
- You may choose to skip the DB namespace installation in the `everestctl install` command. | ||
|
||
## Update namespaces | ||
|
||
!!! info "Important" | ||
Removing operators with `update` is currently not supported. | ||
|
||
You can run the following command to add more operators to an existing DB namespace. | ||
|
||
|
||
```sh | ||
everestctl namespaces update [NAMESPACE] | ||
``` | ||
|
||
??? example "Example" | ||
```sh | ||
everestctl namespaces update development | ||
|
||
? Which operators do you want to install? MongoDB | ||
✓ Updating namespace 'development' | ||
``` | ||
|
||
|
||
## Delete namespaces | ||
|
||
You can run the following command for deleting namespaces: | ||
|
||
```sh | ||
everestctl namespaces remove [NAMESPACE] | ||
``` | ||
|
||
- This command deletes only the specified namespace, as long as it is managed by Percona Everest. | ||
|
||
- Setting `--keep-namespace` deletes all resources within the namespace (e.g., operators, DatabaseClusters, BackupStorages) while preserving the namespace itself. Use this option to clean up the namespace without removing it. | ||
|
||
|
||
??? example "Example" | ||
```sh | ||
everestctl namespaces remove development | ||
|
||
✓ Deleting database clusters in namespace 'development' | ||
✓ Deleting backup storages in namespace 'development' | ||
✓ Deleting monitoring instances in namespace 'development' | ||
✓ Deleting namespace 'development' | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.