Pulp CLI configuration supports defining multiple Pulp instances[0]
An ansible role can easily talk to different servers [1]
[0] https://docs.pulpproject.org/pulp_cli/configuration/#config-profiles
[1] https://github.com/mdellweg/squeezer/tree/replicate_pulp
Users have trouble serving the exact same content in multiple data centers (DC) or geographies (Geo).
Users setup a Pulp in each DC or Geo and configure them to sync from each other. This takes a lot of work.
Make configuring one Pulp to "be just like another" easier.
Primary Pulp - The Pulp where content originates from
Replica Pulp - The Pulp that receives it's content from the Primary Pulp
Replica Repo - A Repo on a Replica Pulp that is configured to sync from a Repo on a Primary Pulp
Replica Distribution - A Distribution on Replica Pulp that has the same base_path and Repository pairing as a Distribution on the Primary Pulp
Replica Content Guard - A Content Guard on a Replica Pulp that is configured to guard a Replica Distribution the same way as a Content Guard on the Primary Pulp's Distribution
Background Sync - A on_demand sync followed up by a immediate sync
As a user I can…
declare a Replica Repo on a Replica Pulp that also has a remote which will sync from a Primary Pulp
declare a distribution on a Replica Pulp that matches the repo and base_path of a distribution on a Primary Pulp and any associated content guards
trigger a background sync on a Replica Pulp Replicate Repo
configure a periodic task that creates Replicate Repos and Replicate Distributions for all Repositories and Distributions from a Primary Pulp
configure a priodic task that triggers background syncs every N minutes
Do the simplest, highest value thing first and deliver that as a fully working thing.
PulpServer API with full CRUD
'Replicate' action on the PulpServer API will dispatch a Task Group that will do the following:
What should happen when an upstream distribution is not point to any repository or publication? Syncing would produce a 404.
For RPM repositories, which sync_policy should be used? 'mirror_content_only' or 'mirror_complete'?
RpmRemote
UlnRemote
AptRemote
ContainerRemote
RoleRemote (ansible)
CollectionRemote (ansible)
GitRemote (ansible)
RpmRepository
FileRepository
AptRepository
ContainerRepository
AnsibleRepository
ContainerDistribution
or
or
By clicking below, you agree to our terms of service.
New to HackMD? Sign up
Syntax | Example | Reference | |
---|---|---|---|
# Header | Header | 基本排版 | |
- Unordered List |
|
||
1. Ordered List |
|
||
- [ ] Todo List |
|
||
> Blockquote | Blockquote |
||
**Bold font** | Bold font | ||
*Italics font* | Italics font | ||
~~Strikethrough~~ | |||
19^th^ | 19th | ||
H~2~O | H2O | ||
++Inserted text++ | Inserted text | ||
==Marked text== | Marked text | ||
[link text](https:// "title") | Link | ||
 | Image | ||
`Code` | Code |
在筆記中貼入程式碼 | |
```javascript var i = 0; ``` |
|
||
:smile: | ![]() |
Emoji list | |
{%youtube youtube_id %} | Externals | ||
$L^aT_eX$ | LaTeX | ||
:::info This is a alert area. ::: |
This is a alert area. |
On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?
Please give us some advice and help us improve HackMD.
Do you want to remove this version name and description?
Syncing