0.0.3-0.1.0 • Published 6 years ago

@helm-charts/banzaicloud-stable-hollowtrees v0.0.3-0.1.0

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

@helm-charts/banzaicloud-stable-hollowtrees

Hollowtrees Helm chart for Kubernetes

FieldValue
Repository Namebanzaicloud-stable
Chart Namehollowtrees
Chart Version0.0.3
NPM Package Version0.1.0
# Default values for hollowtrees
# This is a YAML-formatted file.
# Declare variables to be passed into your templates.

## The official Banzai hollowtrees image, change tag to use a different version.
## https://hub.docker.com/r/banzaicloud/hollowtrees/tags/
##
image:
  repository: 'banzaicloud/hollowtrees'
  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: 'debug'
logFormat: 'text'

# The address to listen on for HTTP requests.
port: 8080
buffersize: 100

rules:
  - name: 'spot_to_drainer'
    description: 'spot to k8s drainer'
    event_type: 'prometheus.server.alert.SpotTerminationNotice'
    action_plugins:
      - 'ht-k8s-action-plugin'
      - 'ht-aws-asg-action-plugin'

  - name: 'spot_rebalance'
    description: 'price alert to asg rebalance'
    event_type: 'prometheus.server.alert.SpotInstanceTooExpensive'
    action_plugins:
      - 'ht-aws-asg-action-plugin'

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

asgplugin:
  enabled: true
  awsAccessKeyId: ''
  awsSecretAccessKey: ''

k8splugin:
  enabled: true

Hollowtrees

Hollowtrees

tl;dr:

$ helm repo add banzaicloud-stable http://kubernetes-charts.banzaicloud.com/branch/master
$ helm repo update
$ helm install banzaicloud/hollowtrees

Introduction

This chart bootstraps a Banzai Cloud Hollowtrees deployment to 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/hollowtrees

The command deploys Hollowtrees to a Kubernetes cluster with 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 Hollowtrees chart and their default values.

ParameterDescriptionDefault
nameContainer namehollowtrees
imageContainer imagebanzaicloud/hollowtrees:{VERSION}
replicaCountReplica Count1
service.typeKubernetes service type to exposeClusterIP
service.nodePortPort to bind to for NodePort service typenil
service.annotationsAdditional annotations to add to servicenil
imagePullPolicyImage pull policy.IfNotPresent
logLevelhollowtrees Log leveldebug
logFormathollowtrees Log formattext
bindAddrPort to bind to for Recommender service9092
buffersizebuffersize app buffersize100
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/hollowtrees

Tip: You can use the default values.yaml