rajch / weave

Simple, resilient multi-host containers networking and more.
https://rajch.github.io/weave/
Apache License 2.0
37 stars 6 forks source link

Is there a way to dump the controlplane topology of a weave cluster ? #14

Open megarajan opened 3 weeks ago

megarajan commented 3 weeks ago

In our weave cluster, we are using connlimit as 100 and because of that if we reboot a vm we are seeing major disruptions in weave cluster . for example in below image, if we reboot control-0 vm, we see major disruptions in weave cluster.

image

Is there any way to dump the control plane network topology to check which vms handle most of hte weave traffic or reconstruct it from any data ?

rajch commented 3 weeks ago

You could monitor Weave metrics, via Prometheus. Weave publishes a number of interesting metrics, including number or peer-to-peer connections, number of fastdp flows and number of ip addresses.

By default, weave listens only on the local interface on each node to publish metrics. You will need to start it using a --metrics-addr option to make it listen on a dedicated (or all) IP address and port. See here.

That same page will give you the list of available metrics.