https://github.com/crane-cloud/multi-cluster
This is an app used to monitoring resources in a K8 multi-cluster environment setup.
https://github.com/crane-cloud/multi-cluster
Last synced: 10 months ago
JSON representation
This is an app used to monitoring resources in a K8 multi-cluster environment setup.
- Host: GitHub
- URL: https://github.com/crane-cloud/multi-cluster
- Owner: crane-cloud
- Created: 2022-11-02T05:18:59.000Z (over 3 years ago)
- Default Branch: develop
- Last Pushed: 2023-05-22T17:06:55.000Z (about 3 years ago)
- Last Synced: 2025-08-30T18:02:56.749Z (10 months ago)
- Language: Python
- Homepage:
- Size: 625 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Multicluster Application
## Create the view network
```bash
docker network create view
```
This enables the containers to communicate with each other.
## Run central server
```bash
cd viewServer
```
Start the server:
```bash
make start
```
## Run the Peer application
```bash
cd peerNode
```
Start the peer node
```bash
make start
```
This will start and initialize a peer node as defined in the docker-compose file.
## To start the peer application
SSH into any of the peer node containers
```bash
docker exec -it /bin/bash
```
Run the following command
```bash
python server.py
```
This should initialise cluster discovery and setup the cluster.
## To kill the containers and volumes to have a fresh start
```bash
cd peerNode
```
Run the following command
```bash
make clean
```
This will kill all the containers and remove the volumes created by the docker-compose file so that you can begin again with a fresh start.