hpe-csi-info-metrics

by HPE Storage

Helm chartv1.0.5App 1.0.5Apache-2.0Verified publisherOfficial

A Helm chart for installing the HPE CSI Info Metrics Provider for Prometheus

About this chart

HPE CSI Info Metrics Provider for Prometheus Helm chart

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

Prerequisites

  • HPE CSI Driver for Kubernetes version 2.0.0+
  • 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
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 info metrics within the cluster.9090
service.nodePortThe TCP port at which to expose access to info 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.[]

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 CSI Info Metrics Provider. 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-csi-info-metrics --version X.Y.Z > myvalues.yaml

Edit the values according to the deployment environment, including 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-csi-info-metrics -n hpe-storage -f myvalues.yaml

Or use command line options:

helm install [RELEASE_NAME] hpe-storage/hpe-csi-info-metrics -n hpe-storage --set acceptEula=xxxx

Uninstallation

helm uninstall [RELEASE_NAME] -n hpe-storage

Using CSI Info Metrics Provider

Visit the HPE Storage Container Orchestration Documentation (SCOD) for more information.

Support

The HPE CSI Info Metrics Provider 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-csi-info-metrics with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has hpe-csi-info-metrics 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-csi-info-metrics 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