Preparing storage on IBM Cloud Public (ROKS)
Containers:
V20.0.0.2
All instances of an operator on IBM Cloud® need a place to store its log files. If you plan to
run the deployment script to generate a custom resource (CR), the script creates a persistent volume
claim (PVC) and copies the JDBC drivers for you. However, if you manually compile the CR then you
must review all of the steps.
Before you begin
Before you deploy an automation container on IBM Cloud, that is your target cluster platform is ROKS, you must configure your client environment and create an OpenShift cluster.
- If you do not have an account, create an account on IBM Cloud.
- If you do not already have a cluster, then create one. From the IBM Cloud Overview page, in the OpenShift Cluster tile, click Create Cluster. Refer to the IBM Cloud documentation to create a Kubernetes cluster. The cluster that you create includes attached storage.
- Make sure that you have the following list of software on your computer so you can use the command-line interfaces (CLIs). As an administrator of the cluster you must be able to interact with your environment.
About this task
You must prepare the storage of the operator before you create an instance of the operator.
gid
storage classes. The deployment script
creates the following classes, which define the reclaimPolicy
to
Retain
for production environments.cp4a-file-retain-bronze-gid
cp4a-file-retain-silver-gid
cp4a-file-retain-gold-gid
The YAML files to create these storage classes are provided in the descriptors folder.
If you do not intend to run the scripts, then complete all of the steps that apply to your configuration.
Procedure
Results
Wait for the confirmation message that the PVC is bound before you move to the next step.
What to do next
You can now set up your cluster manually or use the setup cluster script. For more information, see Setting up the cluster.