wavefront
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.
| Parameter | Description | Default |
|---|---|---|
clusterName | Unique name for the OpenShift cluster | KUBERNETES_CLUSTER_NAME |
wavefront.url | Wavefront URL for your cluster | https://YOUR_CLUSTER.wavefront.com |
wavefront.token | Wavefront API Token | YOUR_API_TOKEN |
collector.enabled | Setup and enable the Wavefront collector to gather metrics | true |
collector.image.repository | Wavefront collector image registry and name | registry.connect.redhat.com/wavefronthq/wavefront-kubernetes-collector |
collector.image.tag | Wavefront collector image tag | {TAG_NAME} |
collector.image.pullPolicy | Wavefront collector image pull policy | IfNotPresent |
collector.image.updateStrategy | Wavefront collector updateStrategy | nil |
collector.useDaemonset | Use Wavefront collector in Daemonset mode | true |
collector.maxProx | Max number of CPU cores that can be used (< 1 for default) | 0 |
collector.logLevel | Min logging level (info, debug, trace) | info |
collector.interval | Default metrics collection interval | 60s |
collector.flushInterval | How often to force a metrics flush | 10s |
collector.sinkDelay | Timout for exporting data | 10s |
collector.useReadOnlyPort | Use un-authenticated port for kubelet | false |
collector.useProxy | Use a Wavefront Proxy to send metrics through | true |
collector.proxyAddress | Non-default Wavefront Proxy address to use, should only be set when proxy.enabled is false | nil |
collector.apiServerMetrics | Collect metrics about OpenShift API server | false |
collector.controlplane.enabled | Enable control plane metrics see more | true |
collector.controlplane.collection.interval | The collection interval for the control plane metrics | 120s |
collector.kubernetesState | Collect metrics about OpenShift resource states see more | true |
collector.cadvisor.enabled | Enable cAdvisor prometheus endpoint. See the cAdvisor docs for details on what metrics are available. | false |
collector.filters | Filters to apply towards all collected metrics | See values.yaml |
collector.tags | Map of tags (key/value) to add to all metrics collected | nil |
collector.discovery.enabled | Rules based and Prometheus endpoints auto-discovery | true |
collector.discovery.annotationPrefix | Replaces prometheus.io as prefix for annotations of auto-discovered Prometheus endpoints | prometheus.io |
collector.discovery.enableRuntimeConfigs | Enable runtime discovery rules see more | true |
collector.discovery.annotationExcludes | Exclude resources from annotation based auto-discovery see more | nil |
collector.discovery.config | Configuration for rules based auto-discovery see more | nil |
collector.resources | CPU/Memory resource requests/limits | CPU: 200m/200m, Memory: 10Mi/256Mi |
imagePullSecrets | Enable 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.enabled | Setup and enable Wavefront proxy to send metrics through | true |
proxy.image.repository | Wavefront proxy image registry and name | registry.connect.redhat.com/wavefronthq/proxy |
proxy.image.tag | Wavefront 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartwavefront is pinned at v1.13.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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