You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/experimental/pulp.md
+9-6Lines changed: 9 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,21 +5,24 @@ In order to ensure reproducible builds, the appliance can build images using rep
5
5
## Deploying/configuring Pulp Server
6
6
7
7
### Deploying a Pulp server
8
-
A playbook is provided to install and configure a Pulp server on a given host. Admin credentials for this server are automatically generated through the `ansible/adhoc/generate-passwords.yml` playbook. To use this, create an inventory file defining a group `pulp_server` containing a single host, which requires at least 2 vCPUs and 4GB RAM. Deploying and syncing Pulp has been tested on an RL9 host. The hostvar `ansible_host` should be defined, giving the IP address Ansible should use for ssh. For example:
8
+
A playbook is provided to install and configure a Pulp server on a given host. Admin credentials for this server are automatically generated through the `ansible/adhoc/generate-passwords.yml` playbook. To use this, create an inventory file
9
+
defining a group `pulp_server` containing a single host, which requires at least 2 vCPUs and 4GB RAM. The group should be defined in your `site` environment's inventory so that a single Pulp server is shared between all environments and
10
+
the same snapshots are tested in staging and production.
11
+
Deploying and syncing Pulp has been tested on an RL9 host. The hostvar `ansible_host` should be defined, giving the IP address Ansible should use for ssh. For example, you can create an ini file at `environments/site/inventory/pulp` with the contents:
9
12
10
13
```
11
14
[pulp_server]
12
-
pulp_host ansible_host=<VM-ip-address> # Note the host name can't conflict with group names i.e can't be called `pulp` or `pulp_server`
15
+
pulp_host ansible_host=<VM-ip-address>
13
16
```
14
17
15
-
Once complete, it will print a message giving a value to set for `appliances_pulp_url`, assuming the `ansible_host` address is also the address the cluster
18
+
> [!WARNING]
19
+
> The inventory hostname cannot conflict with group names i.e can't be called `pulp` or `pulp_server`.
20
+
21
+
Once complete, it will print a message giving a value to set for `appliances_pulp_url` (see example config below), assuming the `ansible_host` address is also the address the cluster
16
22
should use to reach the Pulp server.
17
23
18
24
Note access to this server's content isn't authenticated so this assumes the `pulp_server` host is not externally reachable.
19
25
20
-
**TODO: You can actually do this using additional_nodes now, how would we make the pulp store persistant?**
21
-
**TODO: don't advise that, we want single server for all environments**
22
-
23
26
### Using an existing Pulp server
24
27
An existing Pulp server can be used to host Ark repos by overriding `pulp_site_password` and `appliances_pulp_url` in the target environment. Note that this assumes the same configuration as the appliance deployed Pulp i.e no content authentication.
0 commit comments