-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add client tools auto-update documentation #50835
Conversation
Amplify deployment status
|
|
||
This documentation explains how to keep Teleport client tools like `tsh` and `tctl` up-to-date. | ||
Updates can be automatic or self-managed, ensuring tools are secure, free from bugs, | ||
and compatible with your Teleport cluster. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I just tried this feature and it's very nice.
Can we add a note / section that outlines which version support this. e.g. if it's shipped with v15, v16, and v17. What's version I need to upgrade to get this feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left a few initial comments. I haven't read the entire PR yet.
|
||
### How It Works | ||
|
||
When you run `tsh login`, the tool will check if updates are enabled for your cluster. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does "the tool" refer to here? Is there an update tool that is separate from the client tools it keeps up to date?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tool is a general term for tsh, tctl in this context, or potentially even tbot in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍 We should specify this in this paragraph. Otherwise, it is not possible for a reader to infer this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've changed to the tsh tool
, in scope of this example exactly tsh responsible for update
Code review changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
While most sidebar sections are autogenerated, the Upgrading section is not. We'll need to update the sidebar configuration by adding an entry here:
Lines 23 to 40 in b6e2bad
{ | |
"title": "Upgrading", | |
"slug": "/upgrading/upgrading/", | |
"entries": [ | |
{ | |
"title": "Compatibility Overview", | |
"slug": "/upgrading/overview/" | |
}, | |
{ | |
"title": "Set up Automatic Agent Updates", | |
"slug": "/upgrading/automatic-agent-updates/" | |
}, | |
{ | |
"title": "Upgrading Reference", | |
"slug": "/upgrading/upgrading-reference/" | |
} | |
] | |
}, |
3. Validate the binary with a checksum. | ||
4. Re-execute using the updated version (with the same environment variables). | ||
|
||
#### Key features: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
523d319
to
cd98458
Compare
cd98458
to
46ae04e
Compare
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bot.
* Add client tools auto-update docs * Add reference to index page * Fix linter prose style * Add section with tctl commands Code review changes * Reorganize sections Add documentation to navigation config Code review changes * Add `autoupdate` from command to cspell * Fix linter warning with relative link * Update docs/config.json Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/upgrading/client-tools-autoupdate.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> --------- Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
* Add client tools auto-update docs * Add reference to index page * Fix linter prose style * Add section with tctl commands Code review changes * Reorganize sections Add documentation to navigation config Code review changes * Add `autoupdate` from command to cspell * Fix linter warning with relative link * Update docs/config.json Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/upgrading/client-tools-autoupdate.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> --------- Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
* Add client tools auto-update docs * Add reference to index page * Fix linter prose style * Add section with tctl commands Code review changes * Reorganize sections Add documentation to navigation config Code review changes * Add `autoupdate` from command to cspell * Fix linter warning with relative link * Update docs/config.json Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/upgrading/client-tools-autoupdate.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> --------- Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
* Add client tools auto-update docs * Add reference to index page * Fix linter prose style * Add section with tctl commands Code review changes * Reorganize sections Add documentation to navigation config Code review changes * Add `autoupdate` from command to cspell * Fix linter warning with relative link * Update docs/config.json * Update docs/pages/upgrading/client-tools-autoupdate.mdx --------- Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
* Add client tools auto-update docs * Add reference to index page * Fix linter prose style * Add section with tctl commands Code review changes * Reorganize sections Add documentation to navigation config Code review changes * Add `autoupdate` from command to cspell * Fix linter warning with relative link * Update docs/config.json Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> * Update docs/pages/upgrading/client-tools-autoupdate.mdx Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com> --------- Co-authored-by: Paul Gottschling <paul.gottschling@goteleport.com>
In this PR added client tools auto-update documentation
Related: https://github.com/gravitational/cloud/issues/10053