scorpio-broker

by FIWARE Foundation

Helm chartv0.3.3App 2.1.0

A Helm chart for Kubernetes in which every microservices has its own container and hence have reserved resources for it and virtually isolated from others and best for production.

About this chart

scorpio-broker

A Helm chart for Kubernetes in which every microservices has its own container and hence have reserved resources for it and virtually isolated from others and best for production.

Requirements

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

Values

KeyTypeDefaultDescription
atContextServer.additionalAnnotationsobject{}
atContextServer.additionalLabelsobject{}
atContextServer.affinityobject{}
atContextServer.autoscaling.apiVersionstring"v2beta2"apiVersion of the HorizontalPodAutoscaler resource emitted by the common.hpa.tpl helper.
atContextServer.autoscaling.enabledbooltruewhether the HorizontalPodAutoscaler emitted by common.hpa.tpl is created.
atContextServer.autoscaling.maxReplicasint5maximum number of pods that can be set by the autoscaler
atContextServer.autoscaling.metricslist[{"resource":{"name":"cpu","target":{"averageUtilization":80,"type":"Utilization"}},"type":"Resource"}]metrics to react on. Default reproduces the legacy v1 HPA's targetCPUUtilizationPercentage: 80.
atContextServer.autoscaling.minReplicasint1minimum number of replicas to which the autoscaler can scale down
atContextServer.enabledbooltrue
atContextServer.image.pullPolicystring"Always"
atContextServer.image.repositorystring"scorpiobroker/scorpio"
atContextServer.image.tagstring"AtContextServer_2.1.0"tag of the image to be used
atContextServer.livenessProbe.failureThresholdint6
atContextServer.livenessProbe.initialDelaySecondsint40
atContextServer.livenessProbe.periodSecondsint10
atContextServer.namestring"at-context-server"
atContextServer.nodeSelectorobject{}
atContextServer.readinessProbe.failureThresholdint6
atContextServer.readinessProbe.initialDelaySecondsint40
atContextServer.readinessProbe.periodSecondsint10
atContextServer.replicasint1
atContextServer.resourcesobject{}
atContextServer.restartPolicystring"Always"
atContextServer.securityContextobject{}
atContextServer.service.portint27015port exposed by the AtContextServer service
atContextServer.service.typestring"ClusterIP"service type
atContextServer.serviceAccount.enabledboolfalse
atContextServer.serviceAccount.namestring""
atContextServer.terminationGracePeriodSecondsint30
atContextServer.tolerationslist[]
atContextServer.updateStrategy.rollingUpdateobject{"maxSurge":"25%","maxUnavailable":"25%"}new pods will be added gradually
atContextServer.updateStrategy.rollingUpdate.maxSurgestring"25%"number of pods that can be created above the desired amount while updating
atContextServer.updateStrategy.rollingUpdate.maxUnavailablestring"25%"number of pods that can be unavailable while updating
atContextServer.updateStrategy.typestring"RollingUpdate"type of the update
configServer.additionalAnnotationsobject{}
configServer.additionalLabelsobject{}
configServer.affinityobject{}
configServer.autoscaling.apiVersionstring"v2beta2"apiVersion of the HorizontalPodAutoscaler resource emitted by the common.hpa.tpl helper.
configServer.autoscaling.enabledbooltruewhether the HorizontalPodAutoscaler emitted by common.hpa.tpl is created.
configServer.autoscaling.maxReplicasint5maximum number of pods that can be set by the autoscaler
configServer.autoscaling.metricslist[{"resource":{"name":"cpu","target":{"averageUtilization":80,"type":"Utilization"}},"type":"Resource"}]metrics to react on. Default reproduces the legacy v1 HPA's targetCPUUtilizationPercentage: 80.
configServer.autoscaling.minReplicasint1minimum number of replicas to which the autoscaler can scale down
configServer.enabledbooltrue
configServer.image.pullPolicystring"Always"
configServer.image.repositorystring"scorpiobroker/scorpio"
configServer.image.tagstring"config-server_1.1.0"tag of the image to be used
configServer.livenessProbe.failureThresholdint6
configServer.livenessProbe.initialDelaySecondsint40
configServer.livenessProbe.periodSecondsint10
configServer.namestring"config-server"
configServer.nodeSelectorobject{}
configServer.readinessProbe.failureThresholdint6
configServer.readinessProbe.initialDelaySecondsint40
configServer.readinessProbe.periodSecondsint10
configServer.replicasint1
configServer.resourcesobject{}
configServer.restartPolicystring"Always"
configServer.securityContextobject{}
configServer.service.portint8888port exposed by the configServer service
configServer.service.typestring"ClusterIP"service type
configServer.serviceAccount.enabledboolfalse
configServer.serviceAccount.namestring""
configServer.terminationGracePeriodSecondsint30
configServer.tolerationslist[]
configServer.updateStrategy.rollingUpdateobject{"maxSurge":"25%","maxUnavailable":"25%"}new pods will be added gradually
configServer.updateStrategy.rollingUpdate.maxSurgestring"25%"number of pods that can be created above the desired amount while updating
configServer.updateStrategy.rollingUpdate.maxUnavailablestring"25%"number of pods that can be unavailable while updating
configServer.updateStrategy.typestring"RollingUpdate"type of the update
entityManager.additionalAnnotationsobject{}
entityManager.additionalLabelsobject{}
entityManager.affinityobject{}
entityManager.autoscaling.apiVersionstring"v2beta2"apiVersion of the HorizontalPodAutoscaler resource emitted by the common.hpa.tpl helper.
entityManager.autoscaling.enabledbooltruewhether the HorizontalPodAutoscaler emitted by common.hpa.tpl is created.
entityManager.autoscaling.maxReplicasint5maximum number of pods that can be set by the autoscaler
entityManager.autoscaling.metricslist[{"resource":{"name":"cpu","target":{"averageUtilization":80,"type":"Utilization"}},"type":"Resource"}]metrics to react on. Default reproduces the legacy v1 HPA's targetCPUUtilizationPercentage: 80.
entityManager.autoscaling.minReplicasint1minimum number of replicas to which the autoscaler can scale down
entityManager.enabledbooltrue
entityManager.image.pullPolicystring"Always"
entityManager.image.repositorystring"scorpiobroker/scorpio"
entityManager.image.tagstring"EntityManager_2.1.0"tag of the image to be used
entityManager.livenessProbe.failureThresholdint6
entityManager.livenessProbe.initialDelaySecondsint40
entityManager.livenessProbe.periodSecondsint10
entityManager.namestring"entity-manager"
entityManager.nodeSelectorobject{}
entityManager.readinessProbe.failureThresholdint6
entityManager.readinessProbe.initialDelaySecondsint40
entityManager.readinessProbe.periodSecondsint10
entityManager.replicasint1
entityManager.resourcesobject{}
entityManager.restartPolicystring"Always"
entityManager.securityContextobject{}
entityManager.service.portint1025port exposed by the entityManager service
entityManager.service.typestring"ClusterIP"service type
entityManager.serviceAccount.enabledboolfalse
entityManager.serviceAccount.namestring""
entityManager.terminationGracePeriodSecondsint30
entityManager.tolerationslist[]
entityManager.updateStrategy.rollingUpdateobject{"maxSurge":"25%","maxUnavailable":"25%"}new pods will be added gradually
entityManager.updateStrategy.rollingUpdate.maxSurgestring"25%"number of pods that can be created above the desired amount while updating
entityManager.updateStrategy.rollingUpdate.maxUnavailablestring"25%"number of pods that can be unavailable while updating
entityManager.updateStrategy.typestring"RollingUpdate"type of the update
eureka.additionalAnnotationsobject{}
eureka.additionalLabelsobject{}
eureka.affinityobject{}
eureka.autoscaling.apiVersionstring"v2beta2"apiVersion of the HorizontalPodAutoscaler resource emitted by the common.hpa.tpl helper. Matches the value used by orion / mintaka; users on Kubernetes 1.26+ may wish to override this to "v2".
eureka.autoscaling.enabledbooltruewhether the HorizontalPodAutoscaler emitted by common.hpa.tpl is created.
eureka.autoscaling.maxReplicasint5maximum number of pods that can be set by the autoscaler
eureka.autoscaling.metricslist[{"resource":{"name":"cpu","target":{"averageUtilization":80,"type":"Utilization"}},"type":"Resource"}]metrics to react on. Default reproduces the legacy v1 HPA's targetCPUUtilizationPercentage: 80 as a v2 Resource/cpu/Utilization metric.
eureka.autoscaling.minReplicasint1minimum number of replicas to which the autoscaler can scale down
eureka.enabledbooltrue
eureka.hostnamestring"localhost"
eureka.image.pullPolicystring"Always"specification of the image pull policy
eureka.image.repositorystring"scorpiobroker/scorpio"
eureka.image.tagstring"eureka-server_2.1.0"
eureka.livenessProbe.failureThresholdint6
eureka.livenessProbe.initialDelaySecondsint40
eureka.livenessProbe.periodSecondsint10
eureka.namestring"eureka"
eureka.nodeSelectorobject{}
eureka.portint8761
eureka.readinessProbe.failureThresholdint6
eureka.readinessProbe.initialDelaySecondsint40
eureka.readinessProbe.periodSecondsint10
eureka.replicasint1
eureka.resourcesobject{}
eureka.restartPolicystring"Always"
eureka.securityContextobject{}
eureka.service.nodePortint30000port to be used by the service
eureka.service.portint8761port to be used by the service
eureka.service.typestring"NodePort"service type
eureka.serviceAccount.enabledboolfalse
eureka.serviceAccount.namestring""
eureka.terminationGracePeriodSecondsint30
eureka.tolerationslist[]
eureka.updateStrategy.rollingUpdateobject{"maxSurge":"25%","maxUnavailable":"25%"}new pods will be added gradually
eureka.updateStrategy.rollingUpdate.maxSurgestring"25%"number of pods that can be created above the desired amount while updating
eureka.updateStrategy.rollingUpdate.maxUnavailablestring"25%"number of pods that can be unavailable while updating
eureka.updateStrategy.typestring"RollingUpdate"type of the update
gateway.additionalAnnotationsobject{}
gateway.additionalLabelsobject{}
gateway.affinityobject{}
gateway.autoscaling.apiVersionstring"v2beta2"apiVersion of the HorizontalPodAutoscaler resource emitted by the common.hpa.tpl helper.
gateway.autoscaling.enabledbooltruewhether the HorizontalPodAutoscaler emitted by common.hpa.tpl is created.
gateway.autoscaling.maxReplicasint5maximum number of pods that can be set by the autoscaler
gateway.autoscaling.metricslist[{"resource":{"name":"cpu","target":{"averageUtilization":80,"type":"Utilization"}},"type":"Resource"}]metrics to react on. Default reproduces the legacy v1 HPA's targetCPUUtilizationPercentage: 80.
gateway.autoscaling.minReplicasint1minimum number of replicas to which the autoscaler can scale down
gateway.enabledbooltrue
gateway.image.pullPolicystring"Always"
gateway.image.repositorystring"scorpiobroker/scorpio"
gateway.image.tagstring"gateway_2.1.0"
gateway.livenessProbe.failureThresholdint6
gateway.livenessProbe.initialDelaySecondsint40
gateway.livenessProbe.periodSecondsint10
gateway.namestring"gateway"
gateway.nodeSelectorobject{}
gateway.readinessProbe.failureThresholdint6
gateway.readinessProbe.initialDelaySecondsint40
gateway.readinessProbe.periodSecondsint10
gateway.replicasint1
gateway.resourcesobject{}
gateway.restartPolicystring"Always"
gateway.securityContextobject{}
gateway.service.nodePortint32297
gateway.service.portint9090
gateway.service.typestring"NodePort"
gateway.serviceAccount.enabledboolfalse
gateway.serviceAccount.n

Deploy scorpio-broker 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 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 is pinned at v0.3.3 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