Skip to content

Best practices for running on Kubernetes? #281

Answered by juzna
juzna asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks, all seems to work fine.

Couple of gotchas we've encountered (I'll later see if I can send PRs for docs, but if not, at least it's here):

  • without persistent disk storage, sftpgo would generate new host keys on every start, which doesn't make clients happy. So we generated them once and stored them as Kubernetes secrets, so that they're shared across all replicas.
  • obviously, we can't use sqlite data provider with no shared disk, because each replica would have it's own independent config 🤦

We've also decided to use Kubernetes for the whole configuration, including user management. Basically, we have a static config (from dumpdata) committed in git, which is passed to the server vi…

Replies: 5 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@drakkan
Comment options

Answer selected by drakkan
Comment options

You must be logged in to vote
2 replies
@saralhimanshu
Comment options

@saralhimanshu
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants