// Module included in the following assemblies:
//
// * virt/monitoring/virt-standalone-observability-controller.adoc

:_mod-docs-content-type: PROCEDURE
[id="virt-enabling-standalone-observability-controller_{context}"]
= Enable the standalone observability controller

[role="_abstract"]
You can enable the standalone observability controller by setting the `deployObservabilityController` feature gate in the `HyperConverged` custom resource (CR). By enabling the standalone observability controller, you can update monitoring and alerts independently of the {VirtProductName} control plane.

:FeatureName: The standalone observability controller
include::snippets/technology-preview.adoc[]

.Prerequisites

* You have access to the cluster as a user with `cluster-admin` permissions.
* You have installed the {oc-first}.

.Procedure

* Enable the `deployObservabilityController` feature gate by running the following command:
+
[source,terminal,subs="attributes+"]
----
$ oc patch {HCOCliKind} kubevirt-hyperconverged -n {CNVNamespace} \
  --type json -p '[{"op": "add", "path": "/spec/featureGates/-", \
  "value": {"name": "deployObservabilityController"}}]'
----

.Verification

* Verify that the feature gate is enabled by running the following command:
+
[source,terminal,subs="attributes+"]
----
$ oc get {HCOCliKind} kubevirt-hyperconverged -n {CNVNamespace} \
  -o jsonpath='{.spec.featureGates}'
----
+
.Expected output
[source,json]
----
[{"name":"deployObservabilityController"}]
----
