cluster-manager

module
v1.5.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2024 License: Apache-2.0

README

cluster-manager

Cluster Manager

Running Locally

make build-server
./bin/server run --config config.yaml

config.yaml has the following content:

httpPort: 8080
grpcPort: 8081
internalGrpcPort: 8082

debug:
  standalone: true
  sqlitePath: /tmp/cluster_manager.db

You can then connect to the DB.

sqlite3 /tmp/cluster_manager.db

You can then hit the endpoint.

curl http://localhost:8080/v1/clusters

curl -X POST http://localhost:8080/v1/clusters -d '{"name": "my-cluster"}'

Running with Docker Compose

Run the following command:

docker-compose build
docker-compose up

Directories

Path Synopsis
api
v1
Package v1 is a reverse proxy.
Package v1 is a reverse proxy.
pkg
server
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL