The following is currently a proof of concept for running Pulp in containers.
Table of Contents
For diagrams outlining the architecture, please see the diagrams in the docs/
folder.
This quickstart guide requires that the following are installed already:
- Ansible 2.6+
- Minishift
- Alternatively, minishift can be installed with our playbook:
ansible-playbook tools/install-minishift.yml
- Alternatively, minishift can be installed with our playbook:
- Openshift Rest Client 6.0+
System Requirements:
- 4GB RAM free
The minishift setup requires some customization due to resource requirements. Run the following to start minishift:
minishift start --memory 10GB --cpus 4 --iso-url centos
A playbook is also provided that can be used:
ansible-playbook tools/minishift-start.yml
Ensure you login to minishift to start:
oc login -u developer -p a
Set the context for the Openshift client to talk to minishift:
eval $(minishift oc-env)
First, create a new project:
oc new-project pulp
Now login as the system admin to install the RBAC and custom resource definition:
oc login -u system:admin
oc create -f deploy/rbac.yaml
oc create -f deploy/crd.yaml
For minishift, the developer user needs access to the Foreman custom resource definition:
oc create -f deploy/developer-rbac.yaml
Once minishift is up and running, the application can be deployed. This is done by running a playbook:
ansible-playbook deploy.yaml
Once services are up and the health check returns OK for all services the application is available. To get the hostname run:
oc get routes
Using the entry under HOST/PORT you can now browse to https://<hostname>
and access the Foreman web UI.