https://github.com/roma-glushko/xgress
🔍 Visualize communication between your microservices based on Kubernetes network policies
https://github.com/roma-glushko/xgress
Last synced: 6 months ago
JSON representation
🔍 Visualize communication between your microservices based on Kubernetes network policies
- Host: GitHub
- URL: https://github.com/roma-glushko/xgress
- Owner: roma-glushko
- Created: 2023-01-20T12:59:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-05-17T13:47:53.000Z (over 2 years ago)
- Last Synced: 2025-02-12T11:22:56.911Z (8 months ago)
- Language: TypeScript
- Size: 99.6 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# XGress
Xgress is a tool that helps to visualize your microservice system based on networking policies you maintain.
## How to Run?
The current way of running is a little bit dirty, but it's fine for this stage of the project.
1. Run the Python script to generate service networking graph based on the network policy resources:
```python
python -m xgress policies.yaml
```Where `policies.yaml` is a YAML file containing all policies. If you are using Helm you can easily generate such file via:
```bash
helm template test networking --values values.yaml --debug > policies.yaml
```2. As a result, xgress script will generate a graph.json file in the xgress directory.
3. Use the content of that file and place it into `view/src/data/graph.ts`
4. Run the dashboard to see the service networking graph