-
Notifications
You must be signed in to change notification settings - Fork 8
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
Harbor, Ground Control and Satellite interaction #47
Comments
I really appreciate the overall direction of this idea. I have a few thoughts and questions regarding the structure and assignment: Current Data Structure Breakdown:
Relationship:
In this structure, a satellite will contain:
Questions & Clarifications:
Overall, I assume that aside from the image assignment changes, the rest of the processes such as satellite registration, state artifact creation etc., will remain unchanged. |
fixed by #55 |
@Mehul-Kumar-27, can you please paste here an excerpt from the state file, so that @tpoxa can take a look on what is wrong there! |
This is how the state json looks currently
The issue lies in the
For satellite to fetch the busybox image it would require the repository path as |
Based on the discussion last week, I want to summarize the responsibilities of different software components, and what effect it has on the users' interaction with those systems.
User Story
Software Components
Implementation Harbor Side
The user manages the artifacts in Harbor and decides which artifacts should be present on the edge.
The goal is to reuse all the existing Harbor capabilities, and Harbor is extended with a new Registry Provider.
The user will be using existing replication rules to select which artifacts should be present in which group.
Instead of pushing artifacts down to the edge, the new registry provider will make a list and send this list to ground control.
Given that list, the edge device (satellite) will be pulling the images to its side.
Essentially, the registry provider that instead of actively moving images creates a list of those images and pushes that list to the ground control which then pushed it edge, which then downloads the images
Replication and Grouping
Currently, replication is a 1:1 relationship with one source and one destination registry.
However, in the satellite use case we are not replication to each edge device (via ground control) but to each group of devices.
So there is the requirement to be able to address multiple edge devices.
This can be done in two ways, at the endpoint or namespace level.
Further Steps
TODO
Sample Edge State File
Next Steps and Use Cases
Once ground control has the state for the edge group, it will create an OCI state artifact and push it to Harbor. The satellite edge groups are periodically polling Harbor for new OCI state artifacts, and once they find any change will pull that artifact, verifies and extract it and download the artifacts listed in the edge state file.
Alternative Additional Considerations
Our goal is to transfer and package the state as an OCI artifact.
Given that ground control should create such an OCI state artifact and push it back to the registry, this process can also be created by the registry provider itself, which is located on the harbor side.
The text was updated successfully, but these errors were encountered: