Closed steverfrancis closed 3 months ago
i don't think resoucre outputs should change, probably this info can go in dashboard, instead of get, maybe a new pane indeed
It's starting to feel to me like we could benefit from completely internal resources and then have public ones that can be freely updated to present things in a more user friendly way without having to change internal logic.
That makes sense - we want resources to be limited and specific. But we also want user friendly outputs, which will often involve multiple resources.
That makes sense - we want resources to be limited and specific.
But we also want user friendly outputs, which will often involve multiple resources.
Exactly. Allows engineers to optimize for their needs and product to optimize for user needs.
I think members
has a different meaning - it's something which should always show same information across all nodes in the cluster (and it's a problem if it doesn't).
KubeSpan status affects a pair of nodes, so in non-healthy KubeSpan setup, this output will always be different across nodes.
Adding a check to talosctl health
makes more sense to me, but even that is not trivial, as if the KubeSpan is down, talosctl health
might not be able to reach out to all the nodes.
I almost think we should have a way in health
to diagnose and offer suggestions on most of the problems. Instead of reporting something as 'not okay', we should be more specific about the error and suggest a solution or point to the exact problem.
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.
This issue was closed because it has been stalled for 7 days with no activity.
Feature Request
Make
talosctl get members
show if KubeSpan is enabled, and if so, show basic status. Include this intalosctl health
Description
Kubespan is fabulous, but it makes troubleshooting a bit harder, as it is mostly transparent. If you forget to allow UDP traffic, for example, this is not evident from the usual talosctl commands.
So in the case of
talosctl get members
, check if KubeSpan is enabled on the --node. If so, add a column to show the output of the State column fromtalosctl get kubespanpeerstatus
so the output would be something like:If architecturally its too cumbersome to display data from different sources like that, then it would be fine (but less nice) to simply also display the output of the command
talosctl get kubespanpeerstatus
after the current output ofget members
, if KubeSpan is enabled.Then, include the new output of
get members
at the start oftalosctl health
So that it would be clear why a node may not be responding. Currently, if a node is not KubeSpan connected, the Health output is just* 192.168.64.62: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing: dial tcp 192.168.64.62:50000: i/o timeout"