1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-05 21:46:22 +01:00

Merge pull request #95877 from mburke5678/patch-44-419

[enterprise-4.19] Need to add colon and remove bold object names from documentation
This commit is contained in:
Michael Burke
2025-10-07 16:41:21 -04:00
committed by GitHub

View File

@@ -24,40 +24,40 @@ include::modules/log6x-oc-explain.adoc[leveloffset=+1]
== Log Storage
The only managed log storage solution available in this release is a Lokistack, managed by the *loki-operator*. This solution, previously available as the preferred alternative to the managed Elasticsearch offering, remains unchanged in its deployment process.
The only managed log storage solution available in this release is a Lokistack, managed by the Loki-operator. This solution, previously available as the preferred alternative to the managed Elasticsearch offering, remains unchanged in its deployment process.
[IMPORTANT]
====
To continue using an existing Red Hat managed Elasticsearch or Kibana deployment provided by the *elasticsearch-operator*, remove the owner references from the `Elasticsearch` resource named `elasticsearch`, and the `Kibana` resource named `kibana` in the `openshift-logging` namespace before removing the `ClusterLogging` resource named `instance` in the same namespace.
To continue using an existing Red Hat managed Elasticsearch or Kibana deployment provided by the Elasticsearch Operator, remove the owner references from the `Elasticsearch` resource named `elasticsearch`, and the `Kibana` resource named `kibana` in the `openshift-logging` namespace before removing the `ClusterLogging` resource named `instance` in the same namespace.
====
. Temporarily set *ClusterLogging* to state `Unmanaged`
. Temporarily set `ClusterLogging` resource to the `Unmanaged` state by running the following command:
+
[source,terminal]
----
$ oc -n openshift-logging patch clusterlogging/instance -p '{"spec":{"managementState": "Unmanaged"}}' --type=merge
----
. Remove *ClusterLogging* `ownerReferences` from the *Elasticsearch* resource
. Remove the `ownerReferences` parameter from the `Elasticsearch` resource by running the following command:
+
The following command ensures that *ClusterLogging* no longer owns the *Elasticsearch* resource. Updates to the *ClusterLogging* resource's `logStore` field will no longer affect the *Elasticsearch* resource.
The following command ensures that Cluster Logging no longer owns the `Elasticsearch` resource. Updates to the `ClusterLogging` resource's `logStore` field will no longer affect the `Elasticsearch` resource.
+
[source,terminal]
----
$ oc -n openshift-logging patch elasticsearch/elasticsearch -p '{"metadata":{"ownerReferences": []}}' --type=merge
----
. Remove *ClusterLogging* `ownerReferences` from the *Kibana* resource
. Remove the `ownerReferences` parameter from the `Kibana` resource.
+
The following command ensures that *ClusterLogging* no longer owns the *Kibana* resource. Updates to the *ClusterLogging* resource's `visualization` field will no longer affect the *Kibana* resource.
The following command ensures that Cluster Logging no longer owns the `Kibana` resource. Updates to the `ClusterLogging` resource's `visualization` field will no longer affect the `Kibana` resource.
+
[source,terminal]
----
$ oc -n openshift-logging patch kibana/kibana -p '{"metadata":{"ownerReferences": []}}' --type=merge
----
. Set *ClusterLogging* to state `Managed`
. Set the `ClusterLogging` resource to the `Managed` state by running the following command:
+
[source,terminal]
----