wavefront-adapter-for-istio

by Helm

Helm chartv0.1.4App 0.1.5

Wavefront by VMware Adapter for Istio

About this chart

Wavefront by VMware Adapter for Istio

Wavefront by VMware Adapter for Istio is an adapter for Istio to publish metrics to Wavefront by VMware.

Introduction

This chart will deploy the Wavefront by VMware Adapter for Istio into kubernetes cluster.

Prerequisites

To deploy this adapter, you will need a cluster with the following setup.

  • Kubernetes v1.15+
  • Istio v1.4, v1.5 or v1.6
  • Helm v3.2+

Note: From Istio v1.5.x onwards Mixer is disabled by default. Enable Mixer with the following step:

Istio v1.5.x

istioctl manifest apply --set values.prometheus.enabled=true --set values.telemetry.v1.enabled=true --set values.telemetry.v2.enabled=false --set components.citadel.enabled=true --set components.telemetry.enabled=true

Istio v1.6.x

istioctl install --set values.prometheus.enabled=true --set values.telemetry.v1.enabled=true --set values.telemetry.v2.enabled=false --set components.citadel.enabled=true --set components.telemetry.enabled=true

Installation

Helm 3+

If not already done, create a namespace to install this chart

kubectl create namespace wavefront-istio

helm install wavefront-adapter-for-istio wavefront/wavefront-adapter-for-istio --namespace wavefront-istio \
    --set wavefront.wavefront.url=https://<YOUR_CLUSTER>.wavefront.com \
    --set wavefront.wavefront.token=<YOUR_API_TOKEN>

Configuration

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

The options wavefront.wavefront.url and wavefront.wavefront.token are required if the proxy.enabled is set to true or adapter.useProxy is set to false.

Parameters

The following tables lists the configurable parameters of the Wavefront by VMware Adapter for Istio chart and their default values.

ParameterDescriptionDefault
wavefront.wavefront.urlWavefront URL for your clusterhttps://YOUR_CLUSTER.wavefront.com
wavefront.wavefront.tokenWavefront API TokenYOUR_API_TOKEN
image.repositoryIstio adapter image registry and namevmware/wavefront-adapter-for-istio
image.tagistio adapter image tag{TAG_NAME}
image.pullPolicyIstio adapter image pull policyAlways
adapter.useProxyUse a Wavefront Proxy to send metrics through if set to false, we assume direct ingestiontrue
adapter.proxyAddressNon-default Wavefront Proxy address to use, should only be set when proxy.enabled is falsenil
adapter.logLevelThe log level (one of error, warn, info, debug, or none)info
adapter.istioNamespaceNamespace into which Istio is installedistio-system
proxy.enabledSetup and enable Wavefront proxy to send metrics throughtrue
metrics.flushIntervalHow often to force a metrics flush5s
metrics.sourceThe source tag for all metrics handled by this adapteristio
metrics.prefixThe prefix to prepend all metrics handled by the adapteristio
metrics.httpFlag to enable/disable http metrics collectiontrue
metrics.tcpFlag to enable/disable tcp metrics collectiontrue

Deploy wavefront-adapter-for-istio with OpenTenant

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