Skip to content

ehelms/carafe

Repository files navigation

Pulp in Containers

NOTE: THIS IS NOT FOR PRODUCTION (yet)

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.

Quick Start Guide

This quickstart guide requires that the following are installed already:

System Requirements:

  • 4GB RAM free

Start Minishift

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)

Deploy Application

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published