-
Notifications
You must be signed in to change notification settings - Fork 101
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
rethink nydusd configuration file #388
Comments
nydus-snapshotter is providing the new nydusd config file to nydusd now |
I am Guijie Wang, and I will complete this part of the work. |
The already running nydusd should not change its configuration I suppose. The newly created nydusd can use the new nydusd configuration. Otherwise, it's not easy to handle the consistency between nydusd config file and nydusd DB records Can we only add an interface or credential service to nydus-snapshotter? The credential service can provide auth to nydusd when it requests |
Yes, we said
The registry credential is the one of wanting to be updated for nydusd, the new nydusd maybe also need the new prefetch configuration, etc. I think we'd better not let nydusd become aware of the credential, it should be handled by the containerd credential plugin with snapshotter in the future, and then nydusd only get the full configuration from snapshotter. |
The registry auth ever passed to nydusd might be expired due to the registry configuration. So I suppose we need a way to refresh the auth nydusd is using. |
Moreover, I don't think the prefetch configurations have to update for an ever-started nydusd which had finished its prefetch jobs. |
Can we make nydus-snapshotter to send the updates to nydusd via a (new) nydusd API? Then there is no need for nydusd to connect to snapshotter UDS. |
The text was updated successfully, but these errors were encountered: