cesanta / docker_auth

Authentication server for Docker Registry 2
Apache License 2.0
1.28k stars 305 forks source link

Can this be deployed with multiple replicas? #377

Open bh-tt opened 1 year ago

bh-tt commented 1 year ago

The chart seems to suggest yes as it has a replicaCount setting, however the project also uses a levelDB which appears to be stored in a local file. Can that cause any issues, for example if a client obtains a token from instance A but then later uses that refresh token on instance B?

As this application will need to be up for any clients that have not yet logged in to pull or push anything deploying it twice seems necessary to prevent short outages.

nullzone commented 12 months ago

I was thinking about the same but found this pull request still pending of being accepted:

https://github.com/cesanta/docker_auth/pull/374