Installing Prometheus

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

  1. Extract ibm-guardium-insights-2.2.0.tgz.
    tar zxvf $LOCAL_CASE_DIR/$CASE_ARCHIVE
  2. Change the directory to the extracted folder.
    cd $LOCAL_CASE_DIR/ibm-guardium-insights/inventory/prometheusSetup/files
    
  3. Edit the prometheus.yaml file and add changes such as storage, labels, and retentions. For more information, see the Red Hat® OpenShift® Prometheus site.
  4. 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
  5. Apply the Prometheus yaml files.
    oc ibm-pak launch $CASE_NAME \
      --version $CASE_VERSION \
      --namespace default \
      --inventory prometheusSetup  \
      --action applyCustomResources \
      --tolerance 1