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

Store published nodes json configuraton in Azure storage #2284

Open
marcschier opened this issue Jul 4, 2024 · 0 comments
Open

Store published nodes json configuraton in Azure storage #2284

marcschier opened this issue Jul 4, 2024 · 0 comments
Labels
feature request New feature or request
Milestone

Comments

@marcschier
Copy link
Collaborator

The feature adds the capability to download a storage volume as blob on startup using a connection string for blob storage. This will allow better fleet management of publishers.

The blob contains:

  • publishednodes.json file
  • initial pki folder structure including trust list, own cert and key
  • ?

(all files are optional)

The blob is only downloaded if any of the files/folders do not exist locally. The blob and connection string to use are provided via command line argument.

The goal is to initialize a fresh publisher with initial configuration on startup and overcome IoT Hub Device twin size limitations. If there is no persistent volume locally, the files do not exist and so publisher will download every time it starts. If publisher cannot connect to Azure storage on startup it will wait until it can and no data will flow. If previously sending data using a blob pn.json file, this will lead to data loss. It is therefore recommended to still use volume mount to persist locally across publisher restarts rather than solely relying on this feature..

Support for uploading changes to the above files is out of scope of this feature.

@marcschier marcschier added the feature request New feature or request label Jul 4, 2024
@marcschier marcschier added this to the Future milestone Jul 4, 2024
@marcschier marcschier modified the milestones: Future, 2.9.13 Oct 15, 2024
@marcschier marcschier modified the milestones: 2.9.13, Future Feb 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant