[NOT OFFICIAL] This is a simple UI to manage your Apache Polaris Instance. It is not official and is not supported by the Apache Polaris team.
- This solution is not well tested
- If you face any bugs the cause could be the UI issues or API either.
- Do not hesitate to open an Issue in this project.
docker run -d \
--name polaris-ui \
-p 3000:3000 \
-e POLARIS_MANAGEMENT_API_URL=http://your-polaris-host:8181/api/management/v1 \
-e POLARIS_CATALOG_API_URL=http://your-polaris-host:8181/api/catalog/v1 \
ghcr.io/binarycat0/apache-polaris-ui:latestFrom GitHub Container Registry (OCI):
helm install apache-polaris-ui oci://ghcr.io/binarycat0/apache-polaris-ui \
--version 0.1.0 \
--set env.POLARIS_MANAGEMENT_API_URL=http://polaris:8181/api/management/v1 \
--set env.POLARIS_CATALOG_API_URL=http://polaris:8181/api/catalog/v1From local chart:
git clone https://github.com/binarycat0/polaris-admin-panel.git
cd polaris-admin-panel
helm install apache-polaris-ui ./helm/apache-polaris-ui \
--set env.POLARIS_MANAGEMENT_API_URL=http://polaris:8181/api/management/v1 \
--set env.POLARIS_CATALOG_API_URL=http://polaris:8181/api/catalog/v1Deploy it to an existing deployment
helm upgrade --install apache-polaris-ui oci://ghcr.io/binarycat0/apache-polaris-ui \
--namespace polaris \
--set image.tag=latest \
--set env.POLARIS_MANAGEMENT_API_URL="http://polaris:8181/api/management/v1" \
--set env.POLARIS_CATALOG_API_URL="http://polaris:8181/api/catalog/v1" \
--set service.port=3000 \
--set service.targetPort=3000You can configure the app through ENV variables or .env file.
| Name | Description | Default |
|---|---|---|
| POLARIS_MANAGEMENT_API_URL | Management Endpoint URL | http://localhost:8181/api/management/v1 |
| POLARIS_CATALOG_API_URL | Catalog Endpoint URL | http://localhost:8181/api/catalog/v1 |
- Node.js 20 or higher
- npm, yarn, pnpm, or bun
- Clone the repository:
git clone https://github.com/binarycat0/polaris-admin-panel.git
cd polaris-admin-panel- Install dependencies:
npm install- Create a
.env.localfile:
POLARIS_MANAGEMENT_API_URL=http://localhost:8181/api/management/v1
POLARIS_CATALOG_API_URL=http://localhost:8181/api/catalog/v1- Run the development server:
npm run dev- Open http://localhost:3000 in your browser.
npm run build
npm startUsing pre-built image:
docker pull ghcr.io/binarycat0/apache-polaris-ui:latest
docker run -d \
--name polaris-ui \
-p 3000:3000 \
-e POLARIS_MANAGEMENT_API_URL=http://your-polaris-host:8181/api/management/v1 \
-e POLARIS_CATALOG_API_URL=http://your-polaris-host:8181/api/catalog/v1 \
ghcr.io/binarycat0/apache-polaris-ui:latestBuilding from source:
git clone https://github.com/binarycat0/polaris-admin-panel.git
cd polaris-admin-panel
docker build -f docker/Dockerfile -t polaris-ui:local .
docker run -d \
--name polaris-ui \
-p 3000:3000 \
-e POLARIS_MANAGEMENT_API_URL=http://your-polaris-host:8181/api/management/v1 \
-e POLARIS_CATALOG_API_URL=http://your-polaris-host:8181/api/catalog/v1 \
polaris-ui:localInstall from GitHub Container Registry (OCI):
helm install apache-polaris-ui oci://ghcr.io/binarycat0/apache-polaris-ui \
--version 0.1.0 \
--set env.POLARIS_MANAGEMENT_API_URL=http://polaris:8181/api/management/v1 \
--set env.POLARIS_CATALOG_API_URL=http://polaris:8181/api/catalog/v1Install from local chart:
git clone https://github.com/binarycat0/polaris-admin-panel.git
cd polaris-admin-panel
helm install apache-polaris-ui ./helm/apache-polaris-ui \
--set env.POLARIS_MANAGEMENT_API_URL=http://polaris:8181/api/management/v1 \
--set env.POLARIS_CATALOG_API_URL=http://polaris:8181/api/catalog/v1Customize with values file:
# custom-values.yaml
replicaCount: 2
env:
POLARIS_MANAGEMENT_API_URL: "http://polaris:8181/api/management/v1"
POLARIS_CATALOG_API_URL: "http://polaris:8181/api/catalog/v1"
resources:
limits:
cpu: 1000m
memory: 1Gi
requests:
cpu: 200m
memory: 256Mihelm install apache-polaris-ui ./helm/apache-polaris-ui -f custom-values.yamlUpgrade:
helm upgrade apache-polaris-ui ./helm/apache-polaris-ui -f custom-values.yamlUninstall:
helm uninstall apache-polaris-uiThe application exposes a health check endpoint at /api/health
# Docker
curl http://localhost:3000/api/health
# Kubernetes
kubectl exec -it <pod-name> -- curl http://localhost:3000/api/healthContributions are welcome! Please feel free to submit a Pull Request.