|
1 | 1 | # Pulp Manager |
2 | 2 |
|
3 | 3 | The Pulp Manager application is used to coordinate common Pulp |
4 | | -workflows and provide some additional reporting capabilities about a |
| 4 | +workflows and provide additional reporting capabilities about a |
5 | 5 | cluster of Pulp servers. It is designed to work with Pulp3. |
6 | 6 |
|
7 | | -We recommend that pulp is operated in a primary/secondary setup. There is a |
8 | | -single pulp instance known as the Pulp Primary which syncs repos from |
9 | | -the Internet and also has custom internal rpms/debs uploaded. Slaves |
10 | | -are then configured to sync these snapshots and internal repos. |
| 7 | +We recommend that Pulp be operated in a primary/secondary setup. There |
| 8 | +is a single Pulp instance known internally as the Pulp Master which |
| 9 | +syncs repos from the Internet and can also have custom or internal |
| 10 | +packages uploaded to it. Secondaries are then configured to sync these |
| 11 | +snapshots and internal repos. |
11 | 12 |
|
12 | 13 | Pulp3 doesn't provide a method to schedule the synchronisation of |
13 | | -repos, and in some repository types (deb) require multiple steps to |
14 | | -sync and update a repos content. The idea is that Pulp Manager |
15 | | -provides the coordination and reporting for this (along with other |
16 | | -workflows), rather than shoe horning jobs into Jenkins. |
17 | | - |
18 | | -Async SQLAlchemy isn't used, which also means most of the API isn't |
19 | | -async. The main reason for this being is the main work of the |
20 | | -application will be done by RQ workers which handles one job at one |
21 | | -time. An RQ worker runs as a single process (although it does use fork |
22 | | -internally), however this still means there is nothing gained from |
23 | | -awaiting on the Database, also other libs such as the hashicorp vault |
24 | | -library are not async. Also this API isn't going to be one that sees |
25 | | -lots of heavy traffic so doesn't gain any real benefit from async |
| 14 | +repos, and in some repository types (deb) may require multiple steps |
| 15 | +to sync and update a repo's content. Pulp Manager provides the |
| 16 | +coordination and reporting for this (along with other workflows), |
| 17 | +rather than using a more generic management approach such as Ansible |
| 18 | +orJenkins. |
| 19 | + |
| 20 | +APIs are synchronous but usualy launch background jobs for |
| 21 | +long-running processes. The main work of the application is done by RQ |
| 22 | +workers. An RQ worker runs as a single process (although it does use |
| 23 | +fork internally), however this still means there is nothing gained |
| 24 | +from awaiting on the Database. Other libs such as the Hashicorp |
| 25 | +Vault library are likewise not async. |
26 | 26 |
|
27 | 27 | ## Architecture |
28 | 28 |
|
|
0 commit comments