Skip to content

spotinst/terraform-spotinst-ocean-metric-exporter

Repository files navigation

Spot Ocean Metric Exporter Terraform Module

A Terraform module to install Ocean Metric Exporter using Helm.

Table of Contents

Usage

module "ocean-metric-exporter" {
  source = "spotinst/ocean-metric-exporter/spotinst"
}

Examples

Requirements

Name Version
terraform >= 0.13.0
spotinst >= 1.39.0

Providers

Name Version
helm 2.5.1

Modules

No modules.

Resources

Name Type
helm_release.this resource

Inputs

Name Description Type Default Required
ca_bundle_secret_name CA bundle secret name. string null no
chart Chart name to be deployed. string "ocean-metric-exporter" no
chart_namespace Chart namespace to install the release into. string "spot-system" no
chart_repository Repository URL where to locate the Spot Ocean Metric Exporter chart. string "https://charts.spot.io" no
chart_version Chart version to be deployed. string "1.0.0" no
config_map_name ConfigMap name. string null no
create_metric_exporter Controls whether the Spot Ocean Metric Exporter should be created. bool true no
create_namespace Controls whether the namespace should be created if it does not yet exist. bool true no
create_service Controls whether a service should be created. bool null no
image_pull_policy Image pull policy. string null no
image_pull_secrets Image pull secrets. string null no
image_repository Image repository. string null no
image_tag Image tag. string null no
namespace Kubernetes namespace where the components should be installed. string null no
replica_count Replicas. number null no
secret_name Secret name. string null no
metricsconfiguration_categories List of Categories to enable - if empty will get no metrics. Additional possible values can be found here: https://docs.spot.io/ocean/tools-and-integrations/prometheus/scrape?id=categories. Array[string] ["scaling"] no
metricsconfiguration_allow_metrics List of Metrics to allow - if empty will get everything. Shouldn't be used with denyMetrics. Possible values can be found here: https://docs.spot.io/ocean/tools-and-integrations/prometheus/scrape?id=metrics. Array[string] null no
metricsconfiguration_deny_metrics List of Metrics to deny - if empty will get everything. Shouldn't be used with allowMetrics. Possible values can be found here: https://docs.spot.io/ocean/tools-and-integrations/prometheus/scrape?id=metrics. Array[string] null no
metricsconfiguration_allow_labels List of Labels to allow - if empty will get everything. Shouldn't be used with denyLabels. Possible values can be found here: https://docs.spot.io/ocean/tools-and-integrations/prometheus/scrape?id=labels. Array[string] null no
metricsconfiguration_deny_labels List of Labels to deny - if empty will get everything. Shouldn't be used with allowLabels. Possible values can be found here: https://docs.spot.io/ocean/tools-and-integrations/prometheus/scrape?id=labels. Array[string] null no
resources_limits_cpu Specifies the maximum amount of cpu resources allowed string null no
resources_limits_memory Specifies the maximum amount of memory resources allowed string null no
resources_requests_cpu Specifies the minimum amount of cpu resources required string null no
resources_requests_memory Specifies the minimum amount of memory resources required string null no

Outputs

No outputs.

Documentation

If you're new to Spot and want to get started, please checkout our Getting Started guide, available on the Spot Documentation website.

Getting Help

We use GitHub issues for tracking bugs and feature requests. Please use these community resources for getting help:

Community

Contributing

Please see the contribution guidelines.

License

Code is licensed under the Apache License 2.0.