scorpio-broker-aaio

by FIWARE Foundation

Helm chartv0.6.0App 2.1.0

A Helm chart for Kubernetes in which all the microservices are deployed under a single container and thus less effective for production environment but serves well in testing and dev environment.

About this chart

scorpio-broker-aaio

A Helm chart for Kubernetes in which all the microservices are deployed under a single container and thus less effective for production environment but serves well in testing and dev environment.

Requirements

RepositoryNameVersion
https://fiware.github.io/helm-chartscommon0.1.2

Values

KeyTypeDefaultDescription
affinityobject{}affinity template ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
autoscaling.apiVersionstring"v2"autoscaling API version used to render the HorizontalPodAutoscaler.
autoscaling.enabledboolfalseshould autoscaling be enabled
autoscaling.maxReplicasint100maximum number of running pods
autoscaling.metricslist[]list of HPA metrics, rendered verbatim into spec.metrics. Replaces the removed targetCPUUtilizationPercentage / targetMemoryUtilizationPercentage keys. Leave empty to disable metric rules; to reproduce the previous CPU-80% behaviour set e.g.: metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 80
autoscaling.minReplicasint1minimum number of running pods
db.dbhoststring"ngb"host of the database to be used
db.existingSecretobject{"enabled":false,"key":"password","name":"the-secret"}existing secret to retrieve the db password
db.existingSecret.enabledboolfalseshould an existing secret be used
db.existingSecret.keystring"password"key to retrieve the password from
db.existingSecret.namestring"the-secret"name of the secret
db.namestring""name of the database; empty for Scorpio's default, ngb
db.passwordstring"ngb"password for connecting the database
db.portstring""port of the database; empty for Scorpio's default, 5432
db.userstring"ngb"user for connecting the database
fullnameOverridestring""
image.pullPolicystring"IfNotPresent"specification of the image pull policy
image.repositorystring"scorpiobroker/scorpio"scorpiobroker image name ref: https://hub.docker.com/r/scorpiobroker/scorpio
image.tagstring"scorpio-aaio_2.1.0"tag of the image to be used
imagePullSecretslist[]
ingress.annotationsobject{}annotations to be added to the ingress
ingress.enabledboolfalseshould there be an ingress to connect scorpio with the public internet
ingress.hostslist[{"host":"chart-example.local","paths":[]}]all hosts to be provided
ingress.hosts[0]object{"host":"chart-example.local","paths":[]}provide a hosts and the paths that should be available
ingress.tlslist[]
kafka.bushoststring"kafka"Bus host for Kafka
kafka.busportint9092Bus port for Kafka
kafka.enabledboolfalseEnable usage of Kafka
livenessProbe.failureThresholdint6
livenessProbe.initialDelaySecondsint40
livenessProbe.pathstring"/actuator/health"
livenessProbe.periodSecondsint10
livenessProbe.timeoutSecondsintnilseconds after which the probe times out. Unset, the Kubernetes default of 1 second applies, which a broker under load can exceed.
logging.levelstring"INFO"Log level
nameOverridestring""
nodeSelectorobject{}selector template ref: https://kubernetes.io/docs/user-guide/node-selection/
podAnnotationsobject{}
podSecurityContextobject{}
priorityClassNamestring""priority class to be assigned to the pods ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
readinessProbe.failureThresholdint6
readinessProbe.initialDelaySecondsint40
readinessProbe.pathstring"/actuator/health"
readinessProbe.periodSecondsint10
readinessProbe.timeoutSecondsintnilseconds after which the probe times out. Unset, the Kubernetes default of 1 second applies, which a broker under load can exceed.
replicaCountint1initial number of target replications, can be different if autoscaling is enabled
resourcesobject{}
securityContextobject{}
service.portint9090port to be used by the service
service.typestring"NodePort"service type
serviceAccountobject{"annotations":{},"create":false,"name":""}if a scorpio specific service account should be used, it can be configured here ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
startupProbe.enabledbooltrueshould the startup probe be configured
startupProbe.failureThresholdint30failures tolerated before the container is restarted. Together with periodSeconds, the time the broker is given to start.
startupProbe.pathstringnilpath to be used for the startup probe, defaults to the path of the liveness probe
startupProbe.periodSecondsint10how often to probe, in seconds
startupProbe.timeoutSecondsintnilseconds after which the probe times out. Unset, the Kubernetes default of 1 second applies.
tolerationslist[]tolerations template ref: ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
topologySpreadConstraintslist[]topology spread constraints template ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy scorpio-broker-aaio with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has scorpio-broker-aaio 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 chartscorpio-broker-aaio is pinned at v0.6.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