Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,23 @@ ifdef::context[:parent-context: {context}]
:context: assembly-preparing-your-ocp-environment-for-stf

[role="_abstract"]
As you prepare your {OpenShiftShort} environment for {ProjectShort}, you must plan for persistent storage, adequate resources, and event storage:
As you prepare your {OpenShift} environment for {Project} ({ProjectShort}), you must plan for persistent storage, adequate resources, and event storage:

* Ensure that persistent storage is available in your {OpenShift} cluster to permit a production grade deployment. For more information, see <<persistent-volumes_assembly-preparing-your-ocp-environment-for-stf>>.
* Ensure that enough resources are available to run the Operators and the application containers. For more information, see <<resource-allocation_assembly-preparing-your-ocp-environment-for-stf>>.
* To install ElasticSearch, you must use a community catalog source. If you do not want to use a community catalog or if you do not want to store events, see <<deploying-stf-to-the-openshift-environment_assembly-installing-the-core-components-of-stf>>.

ifeval::["{build}" == "upstream"]
* {ProjectShort} uses ElasticSearch to store events, which requires a larger than normal `vm.max_map_count`. The `vm.max_map_count` value is set by default in {OpenShift}. For more information about how to edit the value of `vm.max_map_count`, see <<node-tuning-operator_assembly-preparing-your-ocp-environment-for-stf>>.
endif::[]

include::../modules/con_persistent-volumes.adoc[leveloffset=+1]
include::../modules/con_ephemeral-storage.adoc[leveloffset=+2]
include::../modules/con_resource-allocation.adoc[leveloffset=+1]
include::../modules/con_metrics-retention-time-period.adoc[leveloffset=+1]
ifeval::["{build}" == "upstream"]
include::../modules/con_node-tuning-operator.adoc[leveloffset=+1]

endif::[]

//reset the context
ifdef::parent-context[:context: {parent-context}]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@
[role="_abstract"]
The default retention time for metrics stored in {ProjectShort} is 24 hours, which provides enough data to allow for trends to develop for the purposes of alerting. To adjust {ProjectShort} for additional metrics retention time, set a new value in `backends.metrics.prometheus.storage.retention`, for example, `7d` for seven days. If you use long retention periods, returning data from heavily populated Prometheus systems can result in queries returning slowly.

For long-term storage, use systems designed for long-term data retention, for example, https://thanos.io/[Thanos].
For long-term storage, use systems designed for long-term data retention, for example, Thanos.

.Additional resources

* For recommendations about Prometheus data storage and estimating storage space, see https://prometheus.io/docs/prometheus/latest/storage/#operational-aspects
* For more information about Thanos, see https://thanos.io/