wavefront-hpa-adapter

by joaquinito2051

Helm chartv1.3.6App 0.9.9

Wavefront HPA Adapter for Kubernetes is a Kubernetes Horizontal Pod Autoscaler adapter. It allows to scale your Kubernetes workloads based on Wavefront metrics.

About this chart

Wavefront HPA Adapter for Kubernetes

Wavefront HPA Adapter for Kubernetes is a Kubernetes Horizontal Pod Autoscaler adapter. It allows to scale your Kubernetes workloads based on Wavefront metrics.

Overview of Wavefront HPA Adapter for Kubernetes

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

$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/wavefront-hpa-adapter

Introduction

Bitnami charts for Helm are carefully engineered, actively maintained and are the quickest and easiest way to deploy containers on a Kubernetes cluster that are ready to handle production workloads.

Wavefront HPA Adapter for Kubernetes Deployment in a Kubernetes cluster using the Helm package manager.

Wavefront HPA Adapter for Kubernetes enables Kubernetes workloads to be scaled based on Wavefront metrics.

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

Prerequisites

  • Kubernetes 1.19+
  • Helm 3.2.0+

Installing the Chart

To install the chart with the release name my-release:

$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/wavefront-hpa-adapter

These commands deploy wavefront-hpa-adapter on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.

Tip: List all releases using helm list

Uninstalling the Chart

To uninstall/delete the my-release helm release:

$ helm uninstall my-release

The command removes all the Kubernetes components associated with the chart and deletes the release.

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)""
kubeVersionOverride Kubernetes version""
nameOverrideString to partially override common.names.fullname""
fullnameOverrideString to fully override common.names.fullname""
commonLabelsLabels to add to all deployed objects{}
commonAnnotationsAnnotations to add to all deployed objects{}
clusterDomainKubernetes cluster domain namecluster.local
extraDeployArray of extra objects to deploy with the release[]

Wavefront HPA Adapter for Kubernetes deployment parameters

NameDescriptionValue
image.registryAdapter image registrydocker.io
image.repositoryAdapter image repositorybitnami/wavefront-hpa-adapter
image.tagAdapter image tag (immutable tags are recommended)0.9.9-scratch-r11
image.digestAdapter image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag""
image.pullPolicyAdapter image pull policyIfNotPresent
image.pullSecretsSpecify docker-registry secret names as an array[]
image.debugEnable image debug modefalse
livenessProbe.enabledEnable livenessProbetrue
livenessProbe.initialDelaySecondsInitial delay seconds for livenessProbe10
livenessProbe.periodSecondsPeriod seconds for livenessProbe10
livenessProbe.timeoutSecondsTimeout seconds for livenessProbe1
livenessProbe.failureThresholdFailure threshold for livenessProbe3
livenessProbe.successThresholdSuccess threshold for livenessProbe1
readinessProbe.enabledEnable readinessProbetrue
readinessProbe.initialDelaySecondsInitial delay seconds for readinessProbe10
readinessProbe.periodSecondsPeriod seconds for readinessProbe10
readinessProbe.timeoutSecondsTimeout seconds for readinessProbe1
readinessProbe.failureThresholdFailure threshold for readinessProbe3
readinessProbe.successThresholdSuccess threshold for readinessProbe1
startupProbe.enabledEnable startupProbefalse
startupProbe.initialDelaySecondsInitial delay seconds for startupProbe10
startupProbe.periodSecondsPeriod seconds for startupProbe10
startupProbe.timeoutSecondsTimeout seconds for startupProbe1
startupProbe.failureThresholdFailure threshold for startupProbe3
startupProbe.successThresholdSuccess threshold for startupProbe1
commandOverride default container command (useful when using custom images)[]
argsOverride default container args (useful when using custom images)[]
hostAliasesAdd deployment host aliases[]
resources.limitsThe resources limits for the Adapter container{}
resources.requestsThe requested resourcesc for the Adapter container{}
containerSecurityContext.enabledEnabled Adapter containers' Security Contexttrue
containerSecurityContext.runAsUserSet Adapter container's Security Context runAsUser1001
containerSecurityContext.runAsNonRootSet Adapter container's Security Context runAsNonRoottrue
containerSecurityContext.readOnlyRootFilesystemmount / (root) as a readonly filesystem on Adapter containertrue
podSecurityContext.enabledEnabled Adapter pods' Security Contexttrue
podSecurityContext.fsGroupSet Adapter pod's Security Context fsGroup1001
podAffinityPresetPod affinity preset. Ignored if affinity is set. Allowed values: soft or hard""
podAntiAffinityPresetPod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hardsoft
nodeAffinityPreset.typeNode affinity preset type. Ignored if affinity is set. Allowed values: soft or hard""
nodeAffinityPreset.keyNode label key to match. Ignored if affinity is set""
nodeAffinityPreset.valuesNode label values to match. Ignored if affinity is set[]
affinityAffinity for pod assignment{}
nodeSelectorNode labels for pod assignment{}
tolerationsTolerations for pod assignment[]
podLabelsExtra labels for Adapter pods{}
podAnnotationsAnnotations for Adapter pods{}
priorityClassNameAdapter pod priority""
lifecycleHooksAdd lifecycle hooks to the Adapter deployment{}
schedulerNameAlternative scheduler""
topologySpreadConstraintsTopology Spread Constraints for pod assignment[]
customLivenessProbe

Deploy wavefront-hpa-adapter with OpenTenant

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