Skip to content

metric-store-cluster-discovery job from metric-store/1.4.3

Github source: 7e9235f4 or master branch

Properties

cluster_discovery

metrics_port

The port to bind a prometheus metrics endpoint

pks

addr

PKS API endpoint

ca_cert

The certificate authority for the PKS API endpoint

server_name

Server name for the PKS API certificate

skip_ssl_validation

Whether to accept invalid certs for PKS API

Default
false

uaa

addr

The endpoint used for the UAA API

ca_cert

The certificate authority for the UAA API endpoint

client_id

The client id to authenticate to UAA

client_secret

The client secret to authenticate to UAA

metric_store_api

address

The address for the Metric Store API including port

Default
localhost:8080

tls

ca_cert

The certificate authority for the Metric Store API mutual TLS.

cert

The certificate for the Metric Store API mutual TLS.

common_name

The common name for the Metric Store API mutual TLS.

Default
metricstore
key

The private key for the Metric Store API mutual TLS.

metrics

tls

ca_cert

The certificate authority for cluster-discovery metrics mutual TLS.

cert

The certificate for cluster-discovery metrics mutual TLS.

key

The private key for cluster-discovery metrics mutual TLS.

refresh_interval

The amount of time between cluster discovery run starts

Default
10m

storage_dir

Where to store Prometheus ScrapeConfigs

Default
/var/vcap/store/metric-store

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/metric-store-cluster-discovery/ directory (learn more).

  • config/bpm.yml (from bpm.yml.erb)
  • config/certs/metric_store_api.crt (from metric_store_api.crt.erb)
  • config/certs/metric_store_api.key (from metric_store_api.key.erb)
  • config/certs/metric_store_api_ca.crt (from metric_store_api_ca.crt.erb)
  • config/certs/metrics.crt (from metrics.crt.erb)
  • config/certs/metrics.key (from metrics.key.erb)
  • config/certs/metrics_ca.crt (from metrics_ca.crt.erb)
  • config/certs/pks_ca.crt (from pks_ca.crt.erb)
  • config/certs/uaa_ca.crt (from uaa_ca.crt.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.