13.8. Standalone observability controller
You can decouple OpenShift Virtualization monitoring from the main deployment by using the standalone observability controller. The controller externalizes monitoring into a standalone Operator.
The standalone observability controller is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.
The standalone observability controller provides the following capabilities:
- Prometheus metrics for OpenShift Virtualization resources, including virtual machines, virtual machine instances, migrations, and instance types.
-
Alerting rules and recording rules, reconciled through
PrometheusRulecustom resources. -
Metric collection endpoints, reconciled through
ServiceMonitorcustom resources.
13.8.1. Enable the standalone observability controller 링크 복사링크가 클립보드에 복사되었습니다!
You can enable the standalone observability controller by setting the deployObservabilityController feature gate in the HyperConverged custom resource (CR). You can then update monitoring and alerts independently of the OpenShift Virtualization control plane.
The standalone observability controller is a Technology Preview feature only. Technology Preview features are not supported with Red Hat production service level agreements (SLAs) and might not be functionally complete. Red Hat does not recommend using them in production. These features provide early access to upcoming product features, enabling customers to test functionality and provide feedback during the development process.
For more information about the support scope of Red Hat Technology Preview features, see Technology Preview Features Support Scope.
Prerequisites
-
You have access to the cluster as a user with
cluster-adminpermissions. -
You have installed the OpenShift CLI (
oc).
Procedure
Enable the
deployObservabilityControllerfeature gate by running the following command:$ oc patch hco kubevirt-hyperconverged -n openshift-cnv \ --type json -p '[{"op": "add", "path": "/spec/featureGates/-", \ "value": {"name": "deployObservabilityController"}}]'
Verification
Verify that the feature gate is enabled by running the following command:
$ oc get hco kubevirt-hyperconverged -n openshift-cnv \ -o jsonpath='{.spec.featureGates}'Expected output
[{"name":"deployObservabilityController"}]