orion
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
| Name | Url | |
|---|---|---|
| wistefan | [email protected] |
Source Code
Requirements
Kubernetes: >= 1.23-0
| Repository | Name | Version |
|---|---|---|
| https://fiware.github.io/helm-charts | common | 0.1.2 |
Values
| Key | Type | Default | Description |
|---|---|---|---|
| autoscaling.apiVersion | string | "v2" | version of the autoscaling API |
| autoscaling.enabled | bool | false | should autoscaling be enabled for the context broker |
| autoscaling.maxReplicas | int | 10 | maximum number of running pods |
| autoscaling.metrics | list | [] | metrics to react on |
| autoscaling.minReplicas | int | 1 | minimum number of running pods |
| broker.cachedContextFolder | string | "/opt/orion/ldcontexts" | |
| broker.db.hosts | list | [] | 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.mongocOnly | bool | true | enable experimental implementation + turn off mongo legacy driver |
| broker.db.name | string | "orion" | the db to use. if running in multiservice mode, its used as a prefix. |
| broker.db.uri | string | "" | 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.envPrefix | string | "ORIONLD_" | Prefix to be used for env-vars in orion. Must be ORION_ for orion and ORIONLD_ for orion-ld |
| broker.ipv4enabled | bool | false | set to true if only ipv4 should be used, do not set both options to true |
| broker.ipv6enabled | bool | false | set to true if only ipv6 should be used, do not set both options to true |
| broker.logging.level | string | "WARN" | log level of the broker |
| broker.metrics.enabled | string | "false" | enable or disable metrics gathering |
| broker.noDevTrace | bool | true | should the extended development tracing be disabled? |
| broker.port | int | 1026 | port that the broker is listening to |
| broker.prometheus.enabled | bool | true | |
| broker.prometheus.scrape | bool | true | |
| broker.troe | object | {"dbHost":"postgres","dbPassword":"password","dbPort":5432,"dbUser":"user","enabled":false} | configuration of temporal entity representation |
| broker.troe.dbHost | string | "postgres" | host of the postgres to be used |
| broker.troe.dbPassword | string | "password" | password to authenticate with at postgres |
| broker.troe.dbPort | int | 5432 | port of the postgres to be used |
| broker.troe.dbUser | string | "user" | username to authenticate with at postgres |
| broker.troe.enabled | bool | false | should temporal representation of entities be enabled |
| deployment.additionalAnnotations | object | {} | additional annotations for the deployment, if required |
| deployment.additionalLabels | object | {} | additional labels for the deployment, if required |
| deployment.affinity | object | {} | affinity template ref: https://kubernetes.io/docs/concepts/configuration/assign-pod-node/#affinity-and-anti-affinity |
| deployment.annotations | object | {} | additional annotations for the Deployment resource, if required |
| deployment.extraEnv | list | [] | additional environment variables for the broker container, e.g. for options not covered by the chart |
| deployment.image.pullPolicy | string | "IfNotPresent" | specification of the image pull policy |
| deployment.image.repository | string | "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.tag | string | "1.12.0" | tag of the image to be used |
| deployment.livenessProbe.failureThreshold | int | 3 | |
| deployment.livenessProbe.initialDelaySeconds | int | 30 | |
| deployment.livenessProbe.periodSeconds | int | 10 | |
| deployment.livenessProbe.successThreshold | int | 1 | |
| deployment.livenessProbe.timeoutSeconds | int | 30 | |
| deployment.nodeSelector | object | {} | selector template ref: https://kubernetes.io/docs/user-guide/node-selection/ |
| deployment.podDisruptionBudget.enabled | bool | false | should a pod disruption budget be created |
| deployment.podDisruptionBudget.maxUnavailable | int | 1 | maximum number of unavailable pods |
| deployment.podDisruptionBudget.minAvailable | string | nil | minimum number of available pods, takes precedence over maxUnavailable |
| deployment.priorityClassName | string | "" | priority class to be assigned to the pods ref: https://kubernetes.io/docs/concepts/scheduling-eviction/pod-priority-preemption/ |
| deployment.readinessProbe.failureThreshold | int | 3 | |
| deployment.readinessProbe.initialDelaySeconds | int | 30 | |
| deployment.readinessProbe.periodSeconds | int | 10 | |
| deployment.readinessProbe.successThreshold | int | 1 | |
| deployment.readinessProbe.timeoutSeconds | int | 30 | |
| deployment.replicaCount | int | 1 | initial number of target replications, can be different if autoscaling is enabled |
| deployment.revisionHistoryLimit | int | 3 | number of old replicas to be retained |
| deployment.sidecars | list | [] | additional sidepods for the deployment, if required |
| deployment.tolerations | list | [] | tolerations template ref: ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/ |
| deployment.topologySpreadConstraints | list | [] | 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.rollingUpdate | object | {"maxSurge":1,"maxUnavailable":0} | new pods will be added gradually |
| deployment.updateStrategy.rollingUpdate.maxSurge | int | 1 | number of pods that can be created above the desired amount while updating |
| deployment.updateStrategy.rollingUpdate.maxUnavailable | int | 0 | number of pods that can be unavailable while updating |
| deployment.updateStrategy.type | string | "RollingUpdate" | type of the update |
| deployment.volumes | list | [] | additional volumes for the deployment, if required |
| fullnameOverride | string | "" | option to override the fullname config in the _helpers.tpl |
| ingress.annotations | object | {} | annotations to be added to the ingress |
| ingress.enabled | bool | false | should there be an ingress to connect orion with the public internet |
| ingress.hosts | list | [] | all hosts to be provided |
| ingress.tls | list | [] | configure the ingress' tls |
| initData.backoffLimit | int | 1 | Number of retries before considering a Job as failed |
| initData.entities | list | [] | Array of entities to be created |
| initData.hook | string | "post-install,post-upgrade" | Annotation value for the Hook |
| initData.hookDeletePolicy | string | "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.repository | string | "docker.io/curlimages/curl" | init data image name |
| initData.image.tag | string | "8.22.0" | init data image tag |
| initData.initEnabled | bool | false | should the creation of initial entities be enabled |
| initData.numberDeploymentTries | int | 20 | |
| mongo.enabled | bool | true | should mongodb be enabled |
| mongo.image.pullPolicy | string | "IfNotPresent" | pull policy to be used for mongo |
| mongo.image.repository | string | "docker.io/mongo" | mongo image name |
| mongo.image.tag | string | "8.0.32" | version of mongo, Orion-LD requires broker.db.mongocOnly for MongoDB > 5.x |
| mongo.port | int | 27017 | port to make mongo accessible at |
| nameOverride | string | "" | option to override the name config in the _helpers.tpl |
| route.annotations | object | {} | annotations to be added to the route |
| route.enabled | bool | false | |
| route.tls | object | {} | tls configuration for the route |
| service.annotations | object | {} | addtional annotations, if required |
| service.port | int | 1026 | port to be used by the service |
| service.type | string | "ClusterIP" | service type |
| serviceAccount | object | {"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.create | bool | false | specifies if the account should be created |
| test.enabled | bool | true | should the test be enabled? |
| test.image.repository | string | "docker.io/curlimages/curl" | test image name |
| test.image.tag | string | "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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartorion is pinned at v1.8.0 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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