Helm chartv1.8.0App 1.12.0

A Helm chart for running the fiware orion-ld (NGSI-LD) or orion (NGSIv2) context broker on kubernetes.

About this chart

orion

A Helm chart for running the fiware orion-ld (NGSI-LD) or orion (NGSIv2) context broker on kubernetes.

Homepage: https://github.com/FIWARE/context.Orion-LD

Maintainers

NameEmailUrl
wistefan[email protected]

Source Code

Requirements

Kubernetes: >= 1.23-0

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

Values

KeyTypeDefaultDescription
autoscaling.apiVersionstring"v2"version of the autoscaling API
autoscaling.enabledboolfalseshould autoscaling be enabled for the context broker
autoscaling.maxReplicasint10maximum number of running pods
autoscaling.metricslist[]metrics to react on
autoscaling.minReplicasint1minimum number of running pods
broker.cachedContextFolderstring"/opt/orion/ldcontexts"
broker.db.hostslist[]configuration of the mongo-db hosts. if multiple hosts are inserted, its assumed that mongo is running as a replica set. Not supported by Orion >= 4.0.0, use uri instead.
broker.db.mongocOnlybooltrueenable experimental implementation + turn off mongo legacy driver
broker.db.namestring"orion"the db to use. if running in multiservice mode, its used as a prefix.
broker.db.uristring""configuration of the mongo-db hosts. if multiple hosts are inserted, its assumed that mongo is running as a replica set Not supported by Orion-LD. With envPrefix: ORION_ and the embedded MongoDB (mongo.enabled) the URI is generated, which requires Orion >= 3.12.0. ref: https://github.com/telefonicaid/fiware-orion/blob/master/doc/manuals/admin/database_admin.md#database-authorization
broker.envPrefixstring"ORIONLD_"Prefix to be used for env-vars in orion. Must be ORION_ for orion and ORIONLD_ for orion-ld
broker.ipv4enabledboolfalseset to true if only ipv4 should be used, do not set both options to true
broker.ipv6enabledboolfalseset to true if only ipv6 should be used, do not set both options to true
broker.logging.levelstring"WARN"log level of the broker
broker.metrics.enabledstring"false"enable or disable metrics gathering
broker.noDevTracebooltrueshould the extended development tracing be disabled?
broker.portint1026port that the broker is listening to
broker.prometheus.enabledbooltrue
broker.prometheus.scrapebooltrue
broker.troeobject{"dbHost":"postgres","dbPassword":"password","dbPort":5432,"dbUser":"user","enabled":false}configuration of temporal entity representation
broker.troe.dbHoststring"postgres"host of the postgres to be used
broker.troe.dbPasswordstring"password"password to authenticate with at postgres
broker.troe.dbPortint5432port of the postgres to be used
broker.troe.dbUserstring"user"username to authenticate with at postgres
broker.troe.enabledboolfalseshould temporal representation of entities be enabled
deployment.additionalAnnotationsobject{}additional annotations for the deployment, if required
deployment.additionalLabelsobject{}additional labels for the deployment, if required
deployment.affinityobject{}affinity template ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity
deployment.annotationsobject{}additional annotations for the Deployment resource, if required
deployment.extraEnvlist[]additional environment variables for the broker container, e.g. for options not covered by the chart
deployment.image.pullPolicystring"IfNotPresent"specification of the image pull policy
deployment.image.repositorystring"quay.io/fiware/orion-ld"orion image name ref: https://hub.docker.com/r/fiware/orion/ ref: https://quay.io/repository/fiware/orion-ld For Orion (NGSIv2) use telefonicaiot/fiware-orion together with broker.envPrefix: ORION_
deployment.image.tagstring"1.12.0"tag of the image to be used
deployment.livenessProbe.failureThresholdint3
deployment.livenessProbe.initialDelaySecondsint30
deployment.livenessProbe.periodSecondsint10
deployment.livenessProbe.successThresholdint1
deployment.livenessProbe.timeoutSecondsint30
deployment.nodeSelectorobject{}selector template ref: https://kubernetes.io/docs/user-guide/node-selection/
deployment.podDisruptionBudget.enabledboolfalseshould a pod disruption budget be created
deployment.podDisruptionBudget.maxUnavailableint1maximum number of unavailable pods
deployment.podDisruptionBudget.minAvailablestringnilminimum number of available pods, takes precedence over maxUnavailable
deployment.priorityClassNamestring""priority class to be assigned to the pods ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/
deployment.readinessProbe.failureThresholdint3
deployment.readinessProbe.initialDelaySecondsint30
deployment.readinessProbe.periodSecondsint10
deployment.readinessProbe.successThresholdint1
deployment.readinessProbe.timeoutSecondsint30
deployment.replicaCountint1initial number of target replications, can be different if autoscaling is enabled
deployment.revisionHistoryLimitint3number of old replicas to be retained
deployment.sidecarslist[]additional sidepods for the deployment, if required
deployment.tolerationslist[]tolerations template ref: ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
deployment.topologySpreadConstraintslist[]topology spread constraints of the broker pods, without labelSelector the pods of this release are selected ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
deployment.updateStrategy.rollingUpdateobject{"maxSurge":1,"maxUnavailable":0}new pods will be added gradually
deployment.updateStrategy.rollingUpdate.maxSurgeint1number of pods that can be created above the desired amount while updating
deployment.updateStrategy.rollingUpdate.maxUnavailableint0number of pods that can be unavailable while updating
deployment.updateStrategy.typestring"RollingUpdate"type of the update
deployment.volumeslist[]additional volumes for the deployment, if required
fullnameOverridestring""option to override the fullname config in the _helpers.tpl
ingress.annotationsobject{}annotations to be added to the ingress
ingress.enabledboolfalseshould there be an ingress to connect orion with the public internet
ingress.hostslist[]all hosts to be provided
ingress.tlslist[]configure the ingress' tls
initData.backoffLimitint1Number of retries before considering a Job as failed
initData.entitieslist[]Array of entities to be created
initData.hookstring"post-install,post-upgrade"Annotation value for the Hook
initData.hookDeletePolicystring"before-hook-creation"Annotation value for the Hook hook-delete-policy. hook-succeeded removes the job on success, leaving it (and its pods) in case of error for perusal hookDeletePolicy: before-hook-creation, hook-succeeded
initData.image.repositorystring"docker.io/curlimages/curl"init data image name
initData.image.tagstring"8.22.0"init data image tag
initData.initEnabledboolfalseshould the creation of initial entities be enabled
initData.numberDeploymentTriesint20
mongo.enabledbooltrueshould mongodb be enabled
mongo.image.pullPolicystring"IfNotPresent"pull policy to be used for mongo
mongo.image.repositorystring"docker.io/mongo"mongo image name
mongo.image.tagstring"8.0.32"version of mongo, Orion-LD requires broker.db.mongocOnly for MongoDB > 5.x
mongo.portint27017port to make mongo accessible at
nameOverridestring""option to override the name config in the _helpers.tpl
route.annotationsobject{}annotations to be added to the route
route.enabledboolfalse
route.tlsobject{}tls configuration for the route
service.annotationsobject{}addtional annotations, if required
service.portint1026port to be used by the service
service.typestring"ClusterIP"service type
serviceAccountobject{"create":false}if a orion specific service account should be used, it can be configured here ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-service-account/
serviceAccount.createboolfalsespecifies if the account should be created
test.enabledbooltrueshould the test be enabled?
test.image.repositorystring"docker.io/curlimages/curl"test image name
test.image.tagstring"8.22.0"test image tag

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy orion with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has orion 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 chartorion is pinned at v1.8.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