From f1ccc7088051b040b347ff5b200c2bcbcba4a2e5 Mon Sep 17 00:00:00 2001 From: Mark O Brien Date: Aug 26 2021 14:57:28 +0000 Subject: update adding cico tenants with PV creation step Signed-off-by: Mark O Brien --- diff --git a/docs/operations/ci/adding_cico_tenant/adding_cico_tenants.md b/docs/operations/ci/adding_cico_tenant/adding_cico_tenants.md index 11b3fdb..cb662fc 100644 --- a/docs/operations/ci/adding_cico_tenant/adding_cico_tenants.md +++ b/docs/operations/ci/adding_cico_tenant/adding_cico_tenants.md @@ -29,7 +29,8 @@ Project_members: ## Steps 1. Create an OpenShift namespace 2. Create an entry in duffy db (with ssh key) - follow adding-duffy-api-key.md -3. Instantiate a template to provision Jenkins +3. Create a PV(Persistent Volume) for Jenkins instance +4. Instantiate a template to provision Jenkins ### Create an OpenShift namespace @@ -45,12 +46,20 @@ Example: "ansible-playbook playbooks/adhoc-openshift-resources.yaml -e "host=ocp ## Create an entry in duffy db (with ssh key) - [follow adding-duffy-api-key.md](https://docs.infra.centos.org/operations/ci/adding_cico_tenant/adding-duffy-api-key/) +## Create a PV(Persistent Volume) for Jenkins instance + +The default PV size for Jenkins instance is 10Gi. If a volume of a different size is created it will need to be reflected in the next section + +To create the PV follow [Persistent storage via NFS](https://docs.infra.centos.org/operations/ci/installation/persistant_storage_nfs/). The host will be `ocp-ci-management` + + ## Instantiate a template to provision Jenkins * Login to openshift -* Go to project cico-templates to select the cico-workspace Jenkins template - from workloads -> From Catalog -> {search cico-workspace} - you would see a template called "cico-workspace: provided by The CentOS - Project" +* Ensure you are in Developer mode and select +Add from the menu +* At the top select the Project cico-templates from the dropdown +* Under the Developer Catalog section select All Services +* Enter cico-workspace in the search field you will see a template + called "cico-workspace: provided by The CentOS Project" * Click the template to start instantiation process. * Select the namespace we want to run Jenkins in (In Namespace variable) * Enter appropriate Memory limit and volume capacity (for Jenkins, we prefer 3Gi and 10Gi respectively)