0.0.2-0.1.0 • Published 5 years ago

@helm-charts/banzaicloud-stable-aws-autoscaling-exporter v0.0.2-0.1.0

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

@helm-charts/banzaicloud-stable-aws-autoscaling-exporter

An aws autoscaling exporter Helm chart for Kubernetes

FieldValue
Repository Namebanzaicloud-stable
Chart Nameaws-autoscaling-exporter
Chart Version0.0.2
NPM Package Version0.1.0
# Default values for aws-autoscaling-exporter
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

autoscalingExporter:
  ## The official Banzai AWS Autoscaling Exporter image, change tag to use a different version.
  ## https://hub.docker.com/r/banzaicloud/aws-autoscaling-exporter/tags/
  ##
  image:
    repository: 'banzaicloud/aws-autoscaling-exporter'
    tag: '0.0.1'

    ## Specify an imagePullPolicy (Required)
    ## It's recommended to change this to 'Always' if the image tag is 'latest'
    ## ref: http://kubernetes.io/docs/user-guide/images/#updating-images
    imagePullPolicy: IfNotPresent

  replicas: 1

  service:
    ## Kubernetes service type
    type: ClusterIP

    ## Specify the nodePort value for the LoadBalancer and NodePort service types.
    ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#type-nodeport
    ##
    # nodePort:
    ## Provide any additonal annotations which may be required. This can be used to
    ## set the LoadBalancer service type to internal only.
    ## ref: https://kubernetes.io/docs/concepts/services-networking/service/#internal-load-balancer
    ##
    # annotations:

  logLevel: 'info'

  # The address to listen on for HTTP requests.
  appPort: 8089

  # URL of the spot instance recommender
  recommenderUrl: 'http://localhost:9090'

  # Path to metrics endpoint
  metricsPath: '/metrics'

  #AWS region where the recommender should work.
  region: 'eu-west-1'

  #Comma separated list of auto scaling groups to monitor. Empty value means all groups in the region.
  autoScalingGroups: ''

  ## Configure resource requests and limits
  ## ref: http://kubernetes.io/docs/user-guide/compute-resources/
  ##
  resources:
    requests:
      memory: 256Mi
      cpu: 120m

#AWS access key ID used to describe auto scaling groups
awsAccessKeyId: ''
#AWS secret key used to describe auto scaling groups
awsSecretAccessKey: ''

Hollowtrees AWS Autoscaling Exporter

AutoscalingExporter Prometheus exporter for AWS auto scaling groups.

tl;dr:

$ helm repo add banzaicloud-incubator http://kubernetes-charts-incubator.banzaicloud.com
$ helm repo update
$ helm install banzaicloud-incubator/aws-autoscaling-exporter

Introduction

This chart bootstraps an AWS Autoscaling exporter deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.8+ with Beta APIs enabled

Installing the Chart

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

$ helm install --name my-release banzaicloud-incubator/aws-autoscaling-exporter

The command deploys AutoscalingExporter on the Kubernetes cluster in the default configuration. The configuration section lists the parameters that can be configured during installation.

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.

Configuration

The following tables lists the configurable parameters of the AWS Autoscaling Exporter chart and their default values.

ParameterDescriptionDefault
autoscalingExporter.nameAutoscaling Exporter container nameautoscalingExporter
autoscalingExporter.imageAutoscaling Exporter container imagebanzaicloud/aws-autoscaling-exporter:{VERSION}
autoscalingExporter.replicaCountReplica Count3
autoscalingExporter.service.typeKubernetes service type to exposeClusterIP
autoscalingExporter.service.nodePortPort to bind to for NodePort service typenil
autoscalingExporter.service.annotationsAdditional annotations to add to servicenil
autoscalingExporter.imagePullPolicyImage pull policy.IfNotPresent
autoscalingExporter.logLevelRecommender Log levelinfo
autoscalingExporter.appPortPort to bind to for Recommender service8089
autoscalingExporter.recommenderUrlURL of the spot instance recommenderhttp://localhost:9090
autoscalingExporter.metricsPathPath to metrics endpoint/metrics
autoscalingExporter.regionAWS region where the recommender should work.eu-west-1
autoscalingExporter.resourcesCPU/Memory resource requests/limitsMemory: 256Mi, CPU: 100m

Specify each parameter using the --set key=value[,key=value] argument to helm install.

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example:

$ helm install --name my-release -f values.yaml banzaicloud-incubator/aws-autoscaling-exporter

Tip: You can use the default values.yaml