Apply the Prometheus custom resource by using oc apply or the IBM CASE
bundle.
About this task
The following procedure covers the IBM CASE bundle installation.
Procedure
-
Extract ibm-guardium-insights-2.2.0.tgz.
tar zxvf $LOCAL_CASE_DIR/$CASE_ARCHIVE
- Change the directory to the extracted folder.
cd $LOCAL_CASE_DIR/ibm-guardium-insights/inventory/prometheusSetup/files
- Edit the prometheus.yaml file and add changes such as storage,
labels, and retentions. For more information, see the Red Hat®
OpenShift® Prometheus site.
- Change the directory and compressed files from the
$LOCAL_CASE_DIR/ibm-guardium-insights folder.
cd $LOCAL_CASE_DIR
tar czvf $LOCAL_CASE_DIR/$CASE_ARCHIVE ibm-guardium-insights
- Apply the Prometheus yaml files.
oc ibm-pak launch $CASE_NAME \
--version $CASE_VERSION \
--namespace default \
--inventory prometheusSetup \
--action applyCustomResources \
--tolerance 1