The Red Hat Marketplace Operator allows for seamless integration among OpenShift, sellers, and your business. The operator makes it simpler to deploy products to your OpenShift clusters. It fetches and installs software updates. It enables pay for what you use pricing options. And consolidates billing and reporting.
When you register your OpenShift clusters, you run a command that deploys the Red Hat Marketplace Operator to your cluster. The operator gathers basic telemetry data, which is used for licensing, billing, and customization back to the marketplace. All data is sent over HTTPS to Red Hat Marketplace.
Communication between Red Hat Marketplace Operator and Red Hat Marketplace
The Red Hat Marketplace Operator requires the following cluster resources.
Default installation requirements
- 2 vCPU (cores)
- 7 GB Memory
- 80 GB Storage
- Default Storage Class set.
Installation with User Workload Monitoring enabled requirements
- Red Hat Marketplace Operator >= v2.3
- 1 vCPU (cores)
- 2 GB Memory
- 10 GB Storage
- Default Storage Class set.
If you are using User Workload Monitoring provided by OpenShift 4.6 or higher, the Marketplace Operator will reuse user workload Prometheus instance if properly configured. This will reduce the resource requirements for the operator.
Enabling OpenShift User Workload Monitoring
The guide will enable the User Workload monitoring with an acceptable configuration for OpenShift 4.6 or higher.
- You have access to the cluster as a user with the cluster-admin role.
- You have installed the
OpenShift CLI (
- You have created the cluster-monitoring-config ConfigMap object.
Create the user-workload-monitoring-config ConfigMap object with defaults of
storage: 40Gi.apiVersion: v1kind: ConfigMapmetadata:name: user-workload-monitoring-confignamespace: openshift-user-workload-monitoringdata:config.yaml: |prometheus:retention: 168hvolumeClaimTemplate:spec:resources:requests:storage: 40Gi
Edit the cluster-monitoring-config ConfigMap object:$ oc -n openshift-monitoring edit configmap cluster-monitoring-config
enableUserWorkload: trueunder data/config.yaml:apiVersion: v1kind: ConfigMapmetadata:name: cluster-monitoring-confignamespace: openshift-monitoringdata:config.yaml: |enableUserWorkload: true
Note: When set to true, the enableUserWorkload parameter enables monitoring for user-defined projects in a cluster.
Save the file to apply the changes. Monitoring for user-defined projects is then enabled automatically.
Check that the prometheus-operator, prometheus-user-workload and thanos-ruler-user-workload pods are running in the openshift-user-workload-monitoring project. It might take a short while for the pods to start:$ oc -n openshift-user-workload-monitoring get pod
Example outputNAME READY STATUS RESTARTS AGEprometheus-operator-6f7b748d5b-t7nbg 2/2 Running 0 3hprometheus-user-workload-0 4/4 Running 1 3hprometheus-user-workload-1 4/4 Running 1 3hthanos-ruler-user-workload-0 3/3 Running 0 3hthanos-ruler-user-workload-1 3/3 Running 0 3h
If any issues occur with the installation or configuration of the User Workload Monitoring please see the official installation guide provided by OpenShift in the additional resource links.
Once on your cluster, the operator creates the following artifacts under the
- Custom resource definitions — installs product operators, as well as Razee agent and agent installer; monitors and reports product usage data, when available.
- Controllers - enforces customer configurations
- Cluster role and role bindings—validates jobs are initiated by a cluster administrator
- Secrets and keys—connects the cluster to Red Hat Marketplace and image registries.
To enable product deployments and billing, the operator sends the following information to Red Hat Marketplace:
- Heartbeat — to maintain a connection, the operator sends cluster metadata once per minute to the marketplace.
- Resource list — to synch your clusters, the operator sends a summarized list of all resources at polling interval to the marketplace.
- Real-time updates — to synch watched resources, such as cluster namespaces and operator versions, the operator sends status updates to the marketplace.
- Usage data - to bill for application usage, when selected, the operator sends reports with usage data to the marketplace
To access Red Hat Marketplace, grant access to the following URL:
|Required for resource updates|