37 lines
914 B
Markdown
37 lines
914 B
Markdown
[KUBE](../README.md) / Shell
|
|
|
|
# Shell
|
|
|
|
> Opening the shell in the pods.
|
|
|
|
## Commands
|
|
|
|
### `--shell [cli]`
|
|
|
|
> [!NOTE]
|
|
> Specifying `cli` will open the appropriate CLI where possible (`MariaDB`, `Redis`, `Redis Sentinel`)
|
|
|
|
Example:
|
|
```bash
|
|
sudo kube.sh --shell
|
|
sudo kube.sh --shell cli
|
|
```
|
|
|
|
Examples of responses:
|
|
```bash
|
|
🔹Shell
|
|
1: mariadb-master-0 [Running]
|
|
2: mariadb-slave-0 [Running]
|
|
3: openlitespeed-0 [Running]
|
|
4: openlitespeed-1 [Running]
|
|
5: postfix-78c47b95f6-42jcq [Running]
|
|
6: redis-0 [Running]
|
|
7: redis-1 [Running]
|
|
8: redis-2 [Running]
|
|
9: redis-sentinel-0 [Running]
|
|
10: redis-sentinel-1 [Running]
|
|
11: redis-sentinel-2 [Running]
|
|
12: worker-6cd4bdb6b8-c6f5d [Running]
|
|
Specify the pod number [0]:
|
|
```
|