wavefront

by joaquinito2051

Helm chartv4.2.5App 1.12.0

Wavefront is a high-performance streaming analytics platform for monitoring and optimizing your environment and applications.

About this chart

Wavefront packaged by Bitnami

Wavefront is a high-performance streaming analytics platform for monitoring and optimizing your environment and applications.

Overview of Wavefront

Azure-ready Charts with Containers from marketplace.azurecr.io

This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.

$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo

TL;DR

$ kubectl create namespace wavefront
$ helm install my-release bitnami-azure/wavefront --namespace wavefront \
    --set clusterName=<K8s-CLUSTER-NAME> \
    --set wavefront.url=https://<YOUR_CLUSTER>.wavefront.com \
    --set wavefront.token=<YOUR_API_TOKEN>

Introduction

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

You can learn more about the Wavefront and Kubernetes integration in the official documentation

Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+
  • PV provisioner support in the underlying infrastructure

Installing the Chart

To install the chart with the release name my-release (if not already done, create a wavefront namespace):

$ kubectl create namespace wavefront
$ helm install my-release bitnami-azure/wavefront --namespace wavefront \
    --set clusterName=<K8s-CLUSTER-NAME> \
    --set wavefront.url=https://<YOUR_CLUSTER>.wavefront.com \
    --set wavefront.token=<YOUR_API_TOKEN>

The command deploys Wavefront on the Kubernetes cluster in the wavefront namespace using the configuration. The Parameters section lists the parameters that can be configured during installation.

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

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete my-release

The command removes all the Kubernetes components associated with the chart and deletes the release. If you want to also remove the namespace please execute kubectl delete namespace wavefront.

Parameters

Global parameters

NameDescriptionValue
global.imageRegistryGlobal Docker image registry""
global.imagePullSecretsGlobal Docker registry secret names as an array[]
global.storageClassGlobal StorageClass for Persistent Volume(s)""

Common parameters

NameDescriptionValue
kubeVersionForce target Kubernetes version (using Helm capabilities if not set)""
nameOverrideString to partially override %%COMPONENT_NAME%%.fullname template with a string (will prepend the release name)""
fullnameOverrideString to fully override %%COMPONENT_NAME%%.fullname template with a string""
commonLabelsAdd labels to all the deployed resources{}
commonAnnotationsAdd annotations to all the deployed resources{}
extraDeployExtra objects to deploy (value evaluated as a template)[]
diagnosticMode.enabledEnable diagnostic mode (all probes will be disabled and the command will be overridden)false
diagnosticMode.commandCommand to override all containers in the the deployment(s)/statefulset(s)["sleep"]
diagnosticMode.argsArgs to override all containers in the the deployment(s)/statefulset(s)["infinity"]

Wavefront Common parameters

NameDescriptionValue
clusterNameThis is a unique name for the cluster (required)KUBERNETES_CLUSTER_NAME
wavefront.urlWavefront URL for your cluster (required)https://YOUR_CLUSTER.wavefront.com
wavefront.tokenWavefront API Token (required)YOUR_API_TOKEN
wavefront.existingSecretName of an existing secret containing the token""
podSecurityPolicy.createWhether to create a PodSecurityPolicy. WARNING: PodSecurityPolicy is deprecated in Kubernetes v1.21 or later, unavailable in v1.25 or laterfalse
rbac.createSpecifies whether RBAC resources should be createdtrue
rbac.rulesCustom RBAC rules to set[]
serviceAccount.createSpecifies whether a ServiceAccount should be createdtrue
serviceAccount.nameName of the service account to use. If not set and create is true, a name is generated using the fullname template.""
serviceAccount.automountServiceAccountTokenAutomount service account token for the server service accounttrue
serviceAccount.annotationsAnnotations for service account. Evaluated as a template. Only used if create is true.{}
projectPacific.enabledEnable and create role binding for Tanzu Kubernetes clusterfalse
tkgi.enabledProperties for TKGI environments. If enabled, a role binding to handle pod security policy will be installed within the TKGI clusterfalse

Collector parameters

NameDescriptionValue
collector.enabledSetup and enable the Wavefront collector to gather metricstrue
collector.image.registryWavefront collector image registrydocker.io
collector.image.repositoryWavefront collector image repositorybitnami/wavefront-kubernetes-collector
collector.image.tagWavefront collector image tag (immutable tags are recommended)1.11.0-scratch-r10
collector.image.digestWavefront collector image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
collector.image.pullPolicyimage pull policyIfNotPresent
collector.image.pullSecretsSpecify docker-registry secret names as an array[]
collector.hostAliasesDeployment pod host aliases[]
collector.useDaemonsetUse Wavefront collector in Daemonset modetrue
collector.usePKSPrefixIf installing into a TKGi/PKS environment, set this to true. Prefixes metrics with 'pks.kubernetes.'false
collector.maxProcsMaximum number of CPUs that can be used simultaneously""
collector.logLevelLog level. Allowed values: info, debug or trace""
collector.intervalDefault metrics collection interval""
collector.flushIntervalHow often to force a metrics flush""
collector.sinkDelayTimeout for exporting data""
collector.useReadOnlyPortUse un-authenticated port for kubeletfalse
collector.useProxyUse a Wavefront Proxy to send metrics throughtrue
collector.proxyAddressCan be used to specify a specific address for the Wavefront Proxy""
collector.kubernetesStateCollect metrics about Kubernetes resource statestrue
collector.apiServerMetricsCollect metrics about Kubernetes API serverfalse
collector.tagsMap of tags to apply to all metrics collected by the collector{}
collector.hostOSMetricsIf set to true, host OS metrics will be collected

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 v4.2.5 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