This is an Admin panel that intends to support all the features from CrateDB 5.4+ and add extra functionality to make the lives of CrateDB users easy.
On-prem CrateDB currently ships with the admin-ui, it is no longer developed, it is quite dated and lacks certain modern features, it still works fine for querying though.
Cloud users have their own ui in https://console.cratedb.cloud/.
This admin tool is intended for on-prem users that want to have a modern, updated and feature rich solution.
You can see more screenshots in /screenshots
The easiest way of getting started is to run a docker container:
docker run -p 3000:80 surister/cratedbaltadmin:latest
We also upload different versions, more in https://hub.docker.com/repository/docker/surister/cratedbaltadmin/general
If you are running a CrateDB version >=5.4, any version of the admin UI should work, bear in mind that some features might not be available as they are directly linked to the running CrateDB version, you should upgrade your CrateDB cluster.
If you are running <5.4, the admin ui might not fully work; I would only rely on basic console querying, since many features depend on CrateDB >2-3 version; again, you shouldn't be running such an old version, upgrade your CrateDB cluster!
To query CrateDB's HTTP endpoint, you need to start the cluster with Cors headers enabled; these are the CrateDB options:
https://cratedb.com/docs/crate/reference/en/latest/config/node.html#cross-origin-resource-sharing-cors
-Chttp.cors.enabled=true
-Chttp.cors.allow-origin=http://localhost:3000
An example in docker would be:
docker run --rm -d
--name=crate01
--net=crate
-p 4200:4200
--env CRATE_HEAP_SIZE=1g
crate -Cnetwork.host=_site_
-Cnode.name=crate01
-Chttp.cors.enabled=true
-Chttp.cors.allow-origin=http://localhost:3000
Bear in mind that if you run the admin panel from another port, it will have to match
the http.cors.allow-origin
setting.
Clone the repo:
git clone [email protected]:surister/cratedb-admin-alt.git
Install dependencies:
# yarn
yarn
# npm
npm install
# pnpm
pnpm install
# bun
bun install
This panel supports v5.4.3 as the base version, any new version will be added afterward.
For maximum compatibility, any new version feature will be added with a versioned Component, meaning that those features will only be unlocked if your connected CrateDB cluster supports it.
While it is my intention to fully support everything, it's a daunting task, it is a very complex product, and it will take some time.
The following parameters are not supported in the Create table UI:
We do not support restoring a snapshot from a partition.
PARTITION (partition_column = value [, ...])] [, ...]
This project is currently being developed by me, but it's open for contributions, also if you have some ideas, feature request or happen to find a bug, please let me know in an issue, so it can be addressed.