Skip to main content
Version: 2.7

OCP cluster prerequisites

Prerequisites

  • Installation prerequisites should be met

  • Stork installed on all application clusters

  • An OCP cluster available over network

  • If you want to install Portworx Backup on OpenShift using the restricted SCC, then you must add the service accounts used by Portworx Backup to the restricted SCC. Execute the following oc adm policy add-scc-to-user commands, replacing <YOUR_NAMESPACE> with your namespace:

    oc adm policy add-scc-to-user restricted system:serviceaccount:<YOUR_NAMESPACE>:default
    oc adm policy add-scc-to-user restricted system:serviceaccount:<YOUR_NAMESPACE>:pxcentral-apiserver
    oc adm policy add-scc-to-user restricted system:serviceaccount:<YOUR_NAMESPACE>:px-keycloak-account
    oc adm policy add-scc-to-user restricted system:serviceaccount:<YOUR_NAMESPACE>:px-backup-account

Troubleshooting activity timeline data loss

If you see any data loss in activity timeline of Portworx Backup dashboard after you restart the pods, then you need to maintain persistent volumes for Prometheus logs for openshift-user-workload-monitoring namespace:

kind: ConfigMap
apiVersion: v1
metadata:
name: user-workload-monitoring-config
namespace: openshift-user-workload-monitoring
data:
config.yaml:
alertmanager:
enabled: true
enableAlertmanagerConfig: true
prometheus:
volumeClaimTemplate:
spec:
storageClassName: <storage-class-name>
resources:
requests:
storage: 10Gi

For more information on troubleshooting this data loss issue in timeline activity, refer to Prometheus documentation.

Refer Dashboards for more information on activity timeline data.

Related topic: