orion-ld

by joaquinito2051

Helm chartv1.0.3App 1.0.1

A Helm chart for running the fiware orion-ld context broker on kubernetes.

About this chart

orion-ld

A Helm chart for running the fiware orion-ld context broker on kubernetes.

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

Maintainers

NameEmailUrl
wistefan[email protected]

Source Code

Requirements

Kubernetes: >= 1.19

Values

KeyTypeDefaultDescription
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
broker.db.namestring"orion"the db to use. if running in multiservice mode, its used as a prefix.
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.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.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
deployment.image.tagstring"1.0.1"tag of the image to be used
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.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.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
mongo.enabledbooltrueshould mongodb be enabled
mongo.image.pullPolicystring"IfNotPresent"pull policy to be used for mongo
mongo.image.repositorystring"quay.io/opencloudio/ibm-mongodb"mongo image name
mongo.image.tagstring"4.0.24"version of mongo
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

Autogenerated from chart metadata using helm-docs v1.6.0

Deploy orion-ld with OpenTenant

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