Setting up a storage volume to store customizations for the common core services
If you plan to customize conda
or pip
or create custom
Python
packages, you must create a storage volume where the IBM Cloud Pak for Data
common core services can store these customizations.
- Who needs to complete this task?
-
A Cloud Pak for Data user with the Create service instances permission must complete this task.
- When do you need to complete this task?
-
Complete this task if you plan to:
- Customize
conda
- Customize
pip
- Create custom
Python
packages
If you there are multiple instances of Cloud Pak for Data on the cluster, you must complete this task for each instance where you plan to store customizations.
- Customize
Before you begin
Ensure that you source the environment variables before you run the commands in this task.
- Work with an instance administrator to gather the following information:
- Confirm that the common core services are
installed in the instance:
oc get ccs --namespace=${PROJECT_CPD_INST_OPERANDS}
- If the common core services are installed, the command returns information about the common core services custom resource.
- If the common core services are not installed, the
command returns an empty response.
This task cannot be completed if the Cloud Pak for Data common core services are not installed.
- Get the URL of the Cloud Pak for Data
instance:
cpd-cli manage get-cpd-instance-details \ --cpd_instance_ns=${PROJECT_CPD_INST_OPERANDS}
- Confirm that the common core services are
installed in the instance:
- If you don't already have a
ZenApiKey
, complete Generating an API authorization token.
About this task
When the common core services are installed, they
create a persistent volume claim called cc-home-pvc
. Use this persistent volume
claim to create the cc-home
storage volume for the customizations for the common core services.