hpe-array-exporter

by HPE Storage

Helm chartv1.0.5App 1.0.5Apache-2.0Verified publisherOfficial

A Helm chart for installing the HPE Storage Array Exporter for Prometheus

About this chart

HPE Storage Array Exporter for Prometheus Helm chart

The HPE Storage Array Exporter for Prometheus provides storage system information in the form of Prometheus metrics. It can be used in combination with HPE CSI Info Metrics Provider for Prometheus metrics to focus on storage resources used within a Kubernetes cluster.

Prerequisites

  • Kubernetes 1.18+ (most distributions)
  • Helm 3 (3.2.0+)

Configuration

The chart has these configurable parameters and default values.

ParameterDescriptionDefault
acceptEulaConfirm your acceptance of the HPE End User License Agreement at https://www.hpe.com/us/en/software/licensing.html by setting this value to true.false
arraySecretThe name of a Secret in the same namespace as the Helm chart installation providing storage array access information: address (or backend), username, and password.hpe-backend
image.registryThe registry from which to pull container images.quay.io
image.pullPolicyContainer image pull policy (Always, IfNotPresent, Never).IfNotPresent
imagesA list of images used by this chartfrom values.yaml
logLevelMinimum severity of messages to output (info, debug, trace, warn, error).info
affinityPod affinity to be set on the deployment.{}
nodeSelectorPod nodeSelector to be set on the deployment.{}
tolerationsPod tolerations to be set on the deployment.{}
metrics.disableIntrospectionExclude metrics about the metrics provider itself, with prefixes such as promhttp, process, and go.false
service.typeThe type of Service to create, ClusterIP for access solely from within the cluster or NodePort to provide access from outside the cluster (ClusterIP, NodePort).ClusterIP
service.portThe TCP port at which to expose access to storage array metrics within the cluster.9090
service.nodePortThe TCP port at which to expose access to storage array metrics externally at each cluster node, if the Service type is NodePort and automatic assignment is not desired.none
service.labelsLabels to add to the Service, for example to include target labels in a ServiceMonitor scrape configuration.{}
service.annotationsAnnotations to add to the Service, for example to configure it as a scrape target when using the Prometheus Helm chart's default configuration.{}
serviceMonitor.enableCreate a ServiceMonitor custom resource (used with the Prometheus Operator).false
serviceMonitor.relabelingsRelabeling configuration for exported metrics.[]
serviceMonitor.metricRelabelingsMetric relabeling configuration for exported metrics.[]
serviceMonitor.targetLabelsList of labels on the service to add to the scraped metric.[]

A Secret used by the HPE CSI Driver for Kubernetes can be reused without modification. Otherwise, use this example to create a new one.

NOTE: The Secret may only contain an IP address or hostname for the "backend" key, not port number as recommended for HPE Primera and newer.

The acceptEula value must be set to true, confirming your acceptance of the HPE End User License Agreement.

Installation

It's beneficial to understand how certain Service annotations and labels affect the deployment of the HPE Storage Array Exporter. Visit the official documentation to learn more.

Add the HPE Storage Helm Repo

helm repo add hpe-storage https://hpe-storage.github.io/co-deployments/
helm repo update

Customize Settings

Use of a values.yaml file is recommended. Retrieve the values.yaml file for the latest version or for the specific version you will install:

helm show values hpe-storage/hpe-array-exporter --version X.Y.Z > myvalues.yaml

Edit the values according to the deployment environment, including identifying (or creating) an arraySecret and setting acceptEula to confirm your acceptance of the HPE End User License Agreement.

Install

The latest release is installed by default. Add a --version or --devel option to install a specific version or the latest pre-release chart.

Use a customized values.yaml file:

kubectl create ns hpe-storage
helm install [RELEASE_NAME] hpe-storage/hpe-array-exporter -n hpe-storage -f myvalues.yaml

Or use command line options:

helm install [RELEASE_NAME] hpe-storage/hpe-array-exporter -n hpe-storage \
  --set acceptEula=xxxx,arraySecret=my-array-secret

Uninstallation

helm uninstall [RELEASE_NAME] -n hpe-storage

Using the HPE Storage Array Exporter

Visit the official documentation for guidance on usage.

Support

The HPE Storage Array Exporter for Prometheus Helm chart is fully supported by HPE. A formal support facility for HPE storage products can be found at SCOD.

Community

Submit issues, questions, and feature requests here. However, see SCOD for support inquiries related to your HPE storage product. You may also join our Slack community to chat with HPE folks close to this project. We hang out in #Alletra, #NimbleStorage, #3par-primera, and #Kubernetes. Sign up at slack.hpedev.io and login at hpedev.slack.com.

Contributing

We value feedback and contributions. If you find an issue or want to contribute, please open an issue or file a PR as described in CONTRIBUTING.md.

License

This chart is open source software licensed using the Apache License 2.0. See the LICENSE for details.

Deploy hpe-array-exporter with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has hpe-array-exporter on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the charthpe-array-exporter is pinned at v1.0.5 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply