iotagent-ul

by FIWARE Foundation

Helm chartv0.2.0App 1.14.0

A Helm chart for running the fiware iot agent for the ultralight 2.0 protocol on kubernetes.

About this chart

iotagent-ul

A Helm chart for running the fiware iot agent for the ultralight 2.0 protocol on kubernetes.

Homepage: https://fiware-iotagent-ul.readthedocs.io/en/latest/

Maintainers

NameEmailUrl
wistefan[email protected]

Source Code

Values

KeyTypeDefaultDescription
autoscaling.enabledboolfalseshould autoscaling be enabled
autoscaling.maxReplicasint10maximum number of running pods
autoscaling.metricslist[]metrics to react on
autoscaling.minReplicasint1minimum number of running pods
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.amqpPortint5672port to be used by the service for amqp communication
deployment.httpNorthPortint4061port to be used by the service for northBound communication
deployment.httpSouthPortint7896port to be used by the service for southBound communication
deployment.image.pullPolicystring"IfNotPresent"specification of the image pull policy
deployment.image.repositorystring"fiware/iotagent-ul"iotagent image name ref: https://hub.docker.com/r/fiware/iotagent-ul/
deployment.image.tagstring"1.14.0"tag of the image to be used
deployment.livenessProbe.failureThresholdint3
deployment.livenessProbe.initialDelaySecondsint30
deployment.livenessProbe.periodSecondsint10
deployment.livenessProbe.successThresholdint1
deployment.livenessProbe.timeoutSecondsint30
deployment.mqttPortint1883port to be used by the service for mqtt communication
deployment.nodeSelectorobject{}selector template ref: https://kubernetes.io/docs/user-guide/node-selection/
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.timeoutSecondsint31
deployment.replicaCountint1initial number of target replications, can be different if autoscaling is enabled
deployment.resourcesobject{}iotagent resource requests and limits, we leave the default empty to make that a concious choice by the user. for the autoscaling to make sense, you should configure this.
deployment.revisionHistoryLimitint3number of old replicas to be retained
deployment.tolerationslist[]tolerations template ref: ref: https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
deployment.topologySpreadConstraintslist[]topology spread constraints template ref: https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/
deployment.updateStrategyobject{"rollingUpdate":{"maxSurge":1,"maxUnavailable":0},"type":"RollingUpdate"}configuration of the iotagent update strategy
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
deviceRegistry.typestring"memory"type of the registry, currently 'memory'(wiped on restart) and 'mongodb' are supported
fullnameOverridestring""
http.timeoutint1000Timeout for the http command endpoint (in milliseconds)
ingress.amqpobject{"annotations":{},"enabled":false,"hosts":[],"tls":[]}configuration for the amqp ingress
ingress.amqp.annotationsobject{}annotations to be added to the ingress
ingress.amqp.enabledboolfalseshould there be an ingress to connect iotagent with the public internet
ingress.amqp.hostslist[]all hosts to be provided
ingress.amqp.tlslist[]configure the ingress' tls
ingress.httpNorthobject{"annotations":null,"enabled":false,"hosts":null,"tls":[]}configuration for the north bound http ingress
ingress.httpNorth.annotationsstringnilannotations to be added to the ingress
ingress.httpNorth.enabledboolfalseshould there be an ingress to connect iotagent with the public internet
ingress.httpNorth.hostsstringnilall hosts to be provided
ingress.httpNorth.tlslist[]configure the ingress' tls
ingress.httpSouthobject{"annotations":{},"enabled":false,"hosts":[],"tls":[]}configuration for the south bound http ingress
ingress.httpSouth.annotationsobject{}annotations to be added to the ingress
ingress.httpSouth.enabledboolfalseshould there be an ingress to connect iotagent with the public internet
ingress.httpSouth.tlslist[]configure the ingress' tls
ingress.mqttobject{"annotations":{},"enabled":false,"hosts":[],"tls":[]}configuration for the mqtt ingress
ingress.mqtt.annotationsobject{}annotations to be added to the ingress
ingress.mqtt.enabledboolfalseshould there be an ingress to connect iotagent with the public internet
ingress.mqtt.hostslist[]all hosts to be provided
ingress.mqtt.tlslist[]configure the ingress' tls
iota.configRetrievalboolfalseindicating whether the incoming notifications to the IoTAgent should be processed using the bidirectionality plugin from the latest versions of the library or the UL-specific configuration retrieval mechanism.
iota.contextBrokerobject{"host":"orion","port":1026}contextbroker to be used with the agent
iota.contextBroker.hoststring"orion"host of the broker
iota.contextBroker.portint1026port of the broker
iota.defaultKeystring"TEF"Default API Key, to use with device that have been provisioned without a Configuration Group.
iota.defaultTransportstring"HTTP"Default transport protocol when no transport is provisioned through the Device Provisioning API.
iota.defaultTypestring"Thing"Default type, for IoT Agent installations that won't require preregistration.
iota.deviceRegistrationDurationstring"P20Y"Default maximum expire date for device registrations
iota.explicitAttributesboolfalsewhether the incoming measures to the IoTAgent should be processed as per the "attributes" field.
iota.logLevelstring"DEBUG"Configures the log level. Appropriate values are: FATAL, ERROR, INFO, WARN and DEBUG.
iota.providerUrlstring"http://localhost:4061"URL Where the IoT Agent Will listen for incoming updateContext and queryContext requests
iota.servicestring"howtoService"Default service, for IoT Agent installations that won't require preregistration
iota.subservicestring"/howto"Default subservice, for IoT Agent installations that won't require preregistration.
iota.timestampbooltrueshould a timestamp be added to every entity, metadata and attributecreated
nameOverridestring""
service.amqpPortint5672port to be used by the service for amqp communication
service.annotationsobject{}addtional annotations, if required
service.httpNorthPortint4061port to be used by the service for northBound communication
service.httpSouthPortint7896port to be used by the service for southBound communication
service.mqttPortint1883port to be used by the service for mqtt communication
service.typestring"ClusterIP"service type
serviceAccount.createboolfalsespecifies if the account should be created

Autogenerated from chart metadata using helm-docs v1.14.2

Deploy iotagent-ul with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has iotagent-ul 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 chartiotagent-ul is pinned at v0.2.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