Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New deprecated-feature module and added to Metering assemblies #31776

Merged
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
3 changes: 3 additions & 0 deletions metering/configuring_metering/metering-about-configuring.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ include::modules/common-attributes.adoc[]

toc::[]

:FeatureName: Metering
include::modules/deprecated-feature.adoc[leveloffset=+1]

The `MeteringConfig` custom resource specifies all the configuration details for your metering installation. When you first install the metering stack, a default `MeteringConfig` custom resource is generated. Use the examples in the documentation to modify this default file. Keep in mind the following key points:

* At a minimum, you need to xref:../../metering/configuring_metering/metering-configure-persistent-storage.adoc#metering-configure-persistent-storage[configure persistent storage] and xref:../../metering/configuring_metering/metering-configure-hive-metastore.adoc#metering-configure-hive-metastore[configure the Hive metastore].
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ include::modules/common-attributes.adoc[]

toc::[]

:FeatureName: Metering
include::modules/deprecated-feature.adoc[leveloffset=+1]

== Resource requests and limits
You can adjust the CPU, memory, or storage resource requests and/or limits for pods and volumes. The `default-resource-limits.yaml` below provides an example of setting resource request and limits for each component.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ include::modules/common-attributes.adoc[]

toc::[]

:FeatureName: Metering
include::modules/deprecated-feature.adoc[leveloffset=+1]

Metering can correlate cluster usage information with https://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-reports-costusage.html[AWS detailed billing information], attaching a dollar amount to resource usage. For clusters running in EC2, you can enable this by modifying the example `aws-billing.yaml` file below.

[source,yaml]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ include::modules/common-attributes.adoc[]

toc::[]

:FeatureName: Metering
include::modules/deprecated-feature.adoc[leveloffset=+1]

Hive metastore is responsible for storing all the metadata about the database tables created in Presto and Hive. By default, the metastore stores this information in a local embedded Derby database in a persistent volume attached to the pod.

Generally, the default configuration of the Hive metastore works for small clusters, but users may wish to improve performance or move storage requirements out of cluster by using a dedicated SQL database for storing the Hive metastore data.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ include::modules/common-attributes.adoc[]

toc::[]

:FeatureName: Metering
include::modules/deprecated-feature.adoc[leveloffset=+1]

Metering requires persistent storage to persist data collected by the Metering Operator and to store the results of reports. A number of different storage providers and storage formats are supported. Select your storage provider and modify the example configuration files to configure persistent storage for your metering installation.

include::modules/metering-store-data-in-s3.adoc[leveloffset=+1]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ include::modules/common-attributes.adoc[]

toc::[]

:FeatureName: Metering
include::modules/deprecated-feature.adoc[leveloffset=+1]

The Reporting Operator is responsible for collecting data from Prometheus, storing the metrics in Presto, running report queries against Presto, and exposing their results via an HTTP API. Configuring the Reporting Operator is primarily done in your `MeteringConfig` custom resource.

include::modules/metering-prometheus-connection.adoc[leveloffset=+1]
Expand Down
3 changes: 3 additions & 0 deletions metering/metering-about-metering.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ include::modules/common-attributes.adoc[]

toc::[]

:FeatureName: Metering
include::modules/deprecated-feature.adoc[leveloffset=+1]

include::modules/metering-overview.adoc[leveloffset=+1]
3 changes: 3 additions & 0 deletions metering/metering-installing-metering.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ include::modules/common-attributes.adoc[]

toc::[]

:FeatureName: Metering
include::modules/deprecated-feature.adoc[leveloffset=+1]

Review the following sections before installing metering into your cluster.

To get started installing metering, first install the Metering Operator from OperatorHub. Next, configure your instance of metering by creating a `MeteringConfig` custom resource (CR). Installing the Metering Operator creates a default `MeteringConfig` resource that you can modify using the examples in the documentation. After creating your `MeteringConfig` resource, install the metering stack. Last, verify your installation.
Expand Down
3 changes: 3 additions & 0 deletions metering/metering-troubleshooting-debugging.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ include::modules/common-attributes.adoc[]

toc::[]

:FeatureName: Metering
include::modules/deprecated-feature.adoc[leveloffset=+1]

Use the following sections to help troubleshoot and debug specific issues with metering.

In addition to the information in this section, be sure to review the following topics:
Expand Down
3 changes: 3 additions & 0 deletions metering/metering-uninstall.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ include::modules/common-attributes.adoc[]

toc::[]

:FeatureName: Metering
include::modules/deprecated-feature.adoc[leveloffset=+1]

You can remove metering from your {product-title} cluster.

[NOTE]
Expand Down
3 changes: 3 additions & 0 deletions metering/metering-upgrading-metering.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ include::modules/common-attributes.adoc[]

toc::[]

:FeatureName: Metering
include::modules/deprecated-feature.adoc[leveloffset=+1]

You can upgrade metering to {product-version} by updating the Metering Operator subscription.

== Prerequisites
Expand Down
3 changes: 3 additions & 0 deletions metering/metering-usage-examples.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ include::modules/common-attributes.adoc[]

toc::[]

:FeatureName: Metering
include::modules/deprecated-feature.adoc[leveloffset=+1]

Use the following example reports to get started measuring capacity, usage, and utilization in your cluster. These examples showcase the various types of reports metering offers, along with a selection of the predefined queries.

== Prerequisites
Expand Down
3 changes: 3 additions & 0 deletions metering/metering-using-metering.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ include::modules/common-attributes.adoc[]

toc::[]

:FeatureName: Metering
include::modules/deprecated-feature.adoc[leveloffset=+1]

== Prerequisites

* xref:../metering/metering-installing-metering.adoc#metering-install-operator_installing-metering[Install Metering]
Expand Down
3 changes: 3 additions & 0 deletions metering/reports/metering-about-reports.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ include::modules/common-attributes.adoc[]

toc::[]

:FeatureName: Metering
include::modules/deprecated-feature.adoc[leveloffset=+1]

A `Report` custom resource provides a method to manage periodic Extract Transform and Load (ETL) jobs using SQL queries. Reports are composed from other metering resources, such as `ReportQuery` resources that provide the actual SQL query to run, and `ReportDataSource` resources that define the data available to the `ReportQuery` and `Report` resources.

Many use cases are addressed by the predefined `ReportQuery` and `ReportDataSource` resources that come installed with metering. Therefore, you do not need to define your own unless you have a use case that is not covered by these predefined resources.
Expand Down
3 changes: 3 additions & 0 deletions metering/reports/metering-storage-locations.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ include::modules/common-attributes.adoc[]

toc::[]

:FeatureName: Metering
include::modules/deprecated-feature.adoc[leveloffset=+1]

A `StorageLocation` custom resource configures where data will be stored by the Reporting Operator. This includes the data collected from Prometheus, and the results produced by generating a `Report` custom resource.

You only need to configure a `StorageLocation` custom resource if you want to store data in multiple locations, like multiple S3 buckets or both S3 and HDFS, or if you wish to access a database in Hive and Presto that was not created by metering. For most users this is not a requirement, and the xref:../../metering/configuring_metering/metering-about-configuring.adoc#metering-about-configuring[documentation on configuring metering] is sufficient to configure all necessary storage components.
Expand Down
11 changes: 11 additions & 0 deletions modules/deprecated-feature.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// When including this file, ensure that {FeatureName} is set immediately before
// the include. Otherwise it will result in an incorrect replacement.

[IMPORTANT]
====
{FeatureName} is a deprecated feature. Deprecated functionality is still included in {product-title} and continues to be supported; however, it will be removed in a future release of this product and is not recommended for new deployments.

For the most recent list of major functionality that has been deprecated or removed within {product-title}, refer to the _Deprecated and removed features_ section of the {product-title} release notes.
====
// Undefine {FeatureName} attribute, so that any mistakes are easily spotted
:!FeatureName: