wavefront

by joaquinito2051

Helm chartv1.13.1App 1.16.0

Wavefront Collector for Kubernetes

About this chart

Wavefront Collector for Kubernetes

Wavefront is a cloud-native monitoring and analytics platform that provides three dimensional microservices observability with metrics, histograms and OpenTracing-compatible distributed tracing.

Introduction

This chart will deploy the Wavefront Collector for Kubernetes and Wavefront Proxy to your OpenShift cluster. You can use this chart to install multiple Wavefront Proxy releases, though only one Wavefront Collector for OpenShift per cluster should be used.

You can learn more about the Wavefront and OpenShift integration here

Installation

helm repo add openshift-helm-charts https://charts.openshift.io/
helm repo update
oc new-project wavefront
helm install wavefront openshift-helm-charts/wavefronthq-wavefront \
    --set wavefront.url=https://YOUR_CLUSTER.wavefront.com \
    --set wavefront.token=YOUR_API_TOKEN \
    --set clusterName=<YOUR_CLUSTER_NAME> \
    --namespace wavefront

Configuration

The values.yaml file contains information about all configuration options for this chart.

The required options are clusterName, wavefront.url and wavefront.token. You will need to provide values for those options for a successful installation of the chart.

Parameters

The following tables lists the configurable parameters of the Wavefront chart and their default values.

ParameterDescriptionDefault
clusterNameUnique name for the OpenShift clusterKUBERNETES_CLUSTER_NAME
wavefront.urlWavefront URL for your clusterhttps://YOUR_CLUSTER.wavefront.com
wavefront.tokenWavefront API TokenYOUR_API_TOKEN
collector.enabledSetup and enable the Wavefront collector to gather metricstrue
collector.image.repositoryWavefront collector image registry and nameregistry.connect.redhat.com/wavefronthq/wavefront-kubernetes-collector
collector.image.tagWavefront collector image tag{TAG_NAME}
collector.image.pullPolicyWavefront collector image pull policyIfNotPresent
collector.image.updateStrategyWavefront collector updateStrategynil
collector.useDaemonsetUse Wavefront collector in Daemonset modetrue
collector.maxProxMax number of CPU cores that can be used (< 1 for default)0
collector.logLevelMin logging level (info, debug, trace)info
collector.intervalDefault metrics collection interval60s
collector.flushIntervalHow often to force a metrics flush10s
collector.sinkDelayTimout for exporting data10s
collector.useReadOnlyPortUse un-authenticated port for kubeletfalse
collector.useProxyUse a Wavefront Proxy to send metrics throughtrue
collector.proxyAddressNon-default Wavefront Proxy address to use, should only be set when proxy.enabled is falsenil
collector.apiServerMetricsCollect metrics about OpenShift API serverfalse
collector.controlplane.enabledEnable control plane metrics see moretrue
collector.controlplane.collection.intervalThe collection interval for the control plane metrics120s
collector.kubernetesStateCollect metrics about OpenShift resource states see moretrue
collector.cadvisor.enabledEnable cAdvisor prometheus endpoint. See the cAdvisor docs for details on what metrics are available.false
collector.filtersFilters to apply towards all collected metricsSee values.yaml
collector.tagsMap of tags (key/value) to add to all metrics collectednil
collector.discovery.enabledRules based and Prometheus endpoints auto-discoverytrue
collector.discovery.annotationPrefixReplaces prometheus.io as prefix for annotations of auto-discovered Prometheus endpointsprometheus.io
collector.discovery.enableRuntimeConfigsEnable runtime discovery rules see moretrue
collector.discovery.annotationExcludesExclude resources from annotation based auto-discovery see morenil
collector.discovery.configConfiguration for rules based auto-discovery see morenil
collector.resourcesCPU/Memory resource requests/limitsCPU: 200m/200m, Memory: 10Mi/256Mi
imagePullSecretsEnable Wavefront proxy and collector to pull from private image repositories. Note: secret must exist in namespace that will be used for the installation.nil
proxy.enabledSetup and enable Wavefront proxy to send metrics throughtrue
proxy.image.repositoryWavefront proxy image registry and nameregistry.connect.redhat.com/wavefronthq/proxy
proxy.image.tagWavefront proxy image tag{TAG_NAME}

Deploy wavefront with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has wavefront 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 chartwavefront is pinned at v1.13.1 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