homing-pigeon

by Helm

Helm chartv0.12.0App 0.3.0Apache-2.0

Helm chart for Homing Pigeon

About this chart

Homing Pigeon

Helm chart for https://github.com/softonic/homing-pigeon

❗Use chart version >= 0.9.0 with homing-pigeon greater or equal to v0.9.0

Overview

ParameterDescriptionDefault
image.repositoryImage repositorysoftonic/homing-pigeon
image.tagTag used for the image0.1.0
image.pullPolicyImage pull policyIfNotPresent
imagePullSecretsImage pull secrets array[]
resourcesResources policy{}
updateStrategyUpdate strategy for statefulsetnull
nodeSelectorNode Selector for homing pigeon deployment{}
tolerationsTolerations for homing pigeon deployment[]
affinityAffinity for homing pigeon deployment{}
initContainersList of init containers[]
extraContainersList of extra containers to add to homing pigeon pod[]
nameOverrideOverride name of chart""
fullnameOverrideOverride full name of chart""
replicaCountNumber of replicas for homing pigeon deployment1
consumerIdDefine CONSUMER_ID env var. It affects queueNamenull
messageBufferLenBuffer length for write buffer400
ackBufferLenBuffer length for acks200
caCertsList of CA certs with name being an identifier, and cert the certificate in base64null
podSecurityContextPod security context configuration{ fsGroup: 1000 }
securityContextContainer security context{ runAsUser: 1000, runAsGroup: 1000 ... }
reader.rabbitmq.enabledEnable RabbitMQ readerfalse
reader.rabbitmq.consumerNameConsumer identifier label""
reader.rabbitmq.urlRabbitMQ url""
reader.rabbitmq.caCertNameEnable SSL for RabbitMQ""
reader.rabbitmq.deadLettersExchangeNameRabbitMQ reader dead letters exchange name (where unacked and unroutable messsages go to)""
reader.rabbitmq.deadLettersQueueNameRabbitMQ reader dead letters queue name""
reader.rabbitmq.exchangeNameRabbitMQ reader exchange name""
reader.rabbitmq.exchangeTypeRabbitMQ reader exchange type""
reader.rabbitmq.exchangeInternalWhether RabbitMQ exchange is internal or not"false"
reader.rabbitmq.outerExchangeNameRabbitMQ reader outer exchange name""
reader.rabbitmq.outerExchangeTypeRabbitMQ reader outer exchange type""
reader.rabbitmq.outerExchangeBindingKeyRabbitMQ reader binding key for outer exchange""
reader.rabbitmq.queueNameRabbitMQ reader queue name. It supports templating.""
reader.rabbitmq.queueMaxPriorityRabbitMQ reader queue x-max-priority value.0
reader.rabbitmq.qos.prefetchCountRabbitMQ QoS prefetch count0
writer.elasticsearch.enabledelasticsearch writer enabledfalse
writer.elasticsearch.hostelasticsearch writer host""
writer.elasticsearch.flushMaxSizeelasticsearch writer flush max size for bulk writes100
writer.elasticsearch.flushMaxIntervalMselasticsearch writer flush max interval for bulk writes in ms5000
writer.elasticsearch.ackDeleteNotFoundack (discard) delete bulk items answered with 404/not_found instead of dead lettering. Needs homing-pigeon >= v0.12.0false
middlewareBatchSizenumber of messages to be passed to the middleware in each call (batch)50.
middlewareBatchTimeoutMstime in ms to wait for the batch size to be completed before sending to middleware100
requestMiddlewares[*].namemiddleware namenull
requestMiddlewares[*].repositorymiddleware image repositorynull
requestMiddlewares[*].tagmiddleware image tagnull
requestMiddlewares[*].pullPolicymiddleware image pull policyIfNotPresent
requestMiddlewares[*].inSocketspecifies the URL that exposes the middleware*null
requestMiddlewares[*].outSocketspecifies the URL that will be used to connect to the next middleware in the queue*null
requestMiddlewares[*].envcontainer env vars*null
requestMiddlewares[*].resourcescontainer resources*null
requestMiddlewares[*].commandcontainer command*null
requestMiddlewares[*].argscontainer args*null
responseMiddlewares[*].namemiddleware namenull
responseMiddlewares[*].repositorymiddleware image repositorynull
responseMiddlewares[*].tagmiddleware image tagnull
responseMiddlewares[*].pullPolicymiddleware image pull policyIfNotPresent
responseMiddlewares[*].inSocketspecifies the URL that exposes the middleware*null
responseMiddlewares[*].outSocketspecifies the URL that will be used to connect to the next middleware in the queue*null
responseMiddlewares[*].envcontainer env vars*null
responseMiddlewares[*].resourcescontainer resources*null
responseMiddlewares[*].commandcontainer command*null
responseMiddlewares[*].argscontainer args*null
flagsarbitrary set of flags that will be added to the flags config map{}

* These options are not compatible when the middleware is configured with an image.

QueueName templating available variables:

NameDescription
ConsumerIdEverything after the last - in the hostname by default. If no - are present, the whole hostname is used. Can be overriden with CONSUMER_ID env var.

Middlewares

You can define middlewares using the requestMiddlewares and responseMiddlewares keys.

Middlewares will be concatenated in the same order than declared in the yaml.

Request vs Response middlewares

The request middlewares are placed between the reader output and the writer input. In contrast response middlewares are placed between the writer output and the reader input.

       |--->  Request middlewares --->|
Reader |                              | Writer
       |<--- Response middlewares <---|

Usage examples

When using a sidecar middleware with an image:

requestMiddlewares:
  - name: 

Deploy homing-pigeon with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has homing-pigeon 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 charthoming-pigeon is pinned at v0.12.0 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