kite postgres¶
Manage PostgreSQL databases.
Aliases: pg
create¶
Create a PostgreSQL database.
| Flag | Description | Default |
|---|---|---|
--version |
PostgreSQL version: 14, 15, 16, 17 |
16 |
--memory |
Memory in MB | 1024 |
--cpu |
CPU cores | 0.5 |
--storage |
Storage in GB | 10 |
--storage-type |
Storage type: nvme, ssd, hdd |
nvme |
--ha |
Enable high availability | false |
--replicas |
Number of replicas (with --ha) |
2 |
# Basic database
kite postgres create mydb
# With custom resources
kite postgres create analytics --memory 2048 --storage 50
# High availability
kite postgres create production --ha --replicas 3
list¶
List PostgreSQL databases.
get¶
Get database details.
start / stop¶
credentials¶
Get database connection credentials.
| Flag | Description |
|---|---|
--show-password |
Show password in output |
backup / list-backups¶
delete¶
Danger
Deleting a database is irreversible. Create a backup first.