Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v14] Improve node listing in tsh and tctl #39568

Merged
merged 1 commit into from
Mar 19, 2024

Conversation

rosstimothy
Copy link
Contributor

Backport #39458 to branch/v14

changelog: Improve performance when listing nodes with tsh or tctl

Converts both tools to use the ListUnifiedResources RPC instead of
the ListResources RPC to improve performance. While there may only
be marginal gains when listing the entire set of nodes, there are
substantial improvements when filtering via predicate, labels, or
search.

tctl was also changed slightly to make use of server side filtering
when tctl get node/foo is run. Prior to this change the entire node
set was always retreived and tctl performed the filter client side
if the user provided a hostname or UUID.
@rosstimothy rosstimothy marked this pull request as ready for review March 19, 2024 14:45
@github-actions github-actions bot requested review from Tener and zmb3 March 19, 2024 14:45
@github-actions github-actions bot added backport size/sm tctl tctl - Teleport admin tool labels Mar 19, 2024
@rosstimothy rosstimothy added this pull request to the merge queue Mar 19, 2024
Merged via the queue into branch/v14 with commit cf8d5c9 Mar 19, 2024
29 checks passed
@rosstimothy rosstimothy deleted the bot/backport-39458-branch/v14 branch March 19, 2024 16:18
This was referenced Mar 20, 2024
This was referenced Aug 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport size/sm tctl tctl - Teleport admin tool
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants