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

Teleport nodes should start with stale data #9085

Open
russjones opened this issue Nov 19, 2021 · 2 comments
Open

Teleport nodes should start with stale data #9085

russjones opened this issue Nov 19, 2021 · 2 comments
Labels
bug c-ju Internal Customer Reference

Comments

@russjones
Copy link
Contributor

Teleport nodes should start even if they can not connect to auth as long as they have cached access to the the backend. By default the cache should be for 24 hours, but we should support making this configurable. We also need to add this information to our documentation (what customers can expect for Teleport, what signals to send so the cache can be closed without currupting it, and how to change cache validity).

@russjones russjones added the bug label Nov 19, 2021
@russjones russjones added the c-ju Internal Customer Reference label Nov 19, 2021
@russjones russjones mentioned this issue Nov 19, 2021
14 tasks
@russjones
Copy link
Contributor Author

russjones commented Dec 2, 2021

Something like this.

cache:
  # Not sure what disk backed/sqlite one is called. Might want
  # to check this.
  type: "sqlite"

  # Default cache validity is 24 hours. This value can be increased
  # or decreased based off tolerance of serving stale data.
  ttl: "24h"

@russjones
Copy link
Contributor Author

You'll probably also need to add documentation explaining the above and point out what signal the user should send to Teleport so it can safely write the tombstone to disk and not corrupt the cache. @fspmarshall can help you on that as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug c-ju Internal Customer Reference
Projects
None yet
Development

No branches or pull requests

3 participants