lorawan-stack-helm-chart
The Things Stack
About this chart
lorawan-stack-helm-chart
The Things Stack
The Things Stack is a robust, highly scalable LoRaWAN Network Server suitable for large, global and geo-distributed public and private networks as well as smaller networks. The architecture follows the LoRaWAN Network Reference Model for standards compliance and interoperability.
This project is actively updated and maintained by The Things Industries.
Check out the documentation for more details.
Warning: Until v1.0.0, all versions are considered to be in the alpha stage and are not suitable for production use. The Things Industries does not offer any guarantees on compatibility between the alpha versions.
Installing the Chart
To install the chart with the release name tts:
$ helm install tts oci://registry-1.docker.io/thethingsindustries/lorawan-stack-helm-chart --version 2.3.0
| Key | Type | Default | Description |
|---|---|---|---|
| as.mqtt.enabled | bool | true | Enable MQTT connections for integrations. |
| as.mqtt.port | int | 1883 | Application Server port for MQTT connections. |
| as.mqtt.tlsPort | int | 8883 | Application Server port for TLS-secured MQTT connections. |
| as.mqtt.tlsPortEnabled | bool | false | Expose the MQTT TLS-secured port in the Kubernetes service of the Application Server. Enable this option to let The Things Stack handle TLS termination. Make sure to set the global.tls.secretName to the name of the secret containing the TLS certificate and key. |
| as.packages.timeout | string | "10s" | Message processing timeout. |
| as.packages.workersCount | int | 1024 | Number of workers per application package. |
| as.redis.readBufferSize | int | 0 | Read buffer size in bytes per Redis connection for the Application Server only (added in TTS v3.36.2). Overrides global.redis.readBufferSize when set to a non-zero value. 0 inherits the global setting. Lowering this reduces memory usage of the Application Server's per-subscription Pub/Sub connections. |
| as.redis.writeBufferSize | int | 0 | Write buffer size in bytes per Redis connection for the Application Server only (added in TTS v3.36.2). Overrides global.redis.writeBufferSize when set to a non-zero value. 0 inherits the global setting. Lowering this reduces memory usage of the Application Server's per-subscription Pub/Sub connections. |
| as.storage.chunkTimeInterval | string | "12h" | Chunk time interval for TimeScaleDB. |
| as.storage.databaseURI | string | "" | URI to access the TimeScale master instance. E.g.: postgres://:@:/? |
| as.storage.enableRetentionPolicy | bool | true | Enable retention policy for TimeScaleDB. |
| as.storage.enabled | bool | false | Enable storage integration. |
| as.storage.maxIdleConnections | int | 5 | Maximum number of idle connections to the write database. Set to 0 for unlimited. |
| as.storage.maxOpenConnections | int | 20 | Maximum number of open connections to the write database. Set to 0 for unlimited. |
| as.storage.migrate | bool | true | Set to true when the database should be migrated during the upgrade. |
| as.storage.readMaxIdleConnections | int | 5 | Maximum number of idle connections to the read database. Set to 0 for unlimited. |
| as.storage.readMaxOpenConnections | int | 20 | Maximum number of open connections to the read database. Set to 0 for unlimited. |
| as.storage.replicaDatabaseURI | string | "" | URI to access the TimeScaleDB replica instance(s). Example postgres://<username>:<password>@<host>:<port>/<database>?<options> |
| as.storage.retentionDays | int | 31 | Retention days for TimeScaleDB. |
| as.webhooks.requestTimeout | string | "5s" | Wait timeout to process the request. |
| as.webhooks.requestWorkerCount | int | 1024 | Number of workers to process requests. |
| as.webhooks.unhealthyAttemptsThreshold | int | 0 | Number of failed webhook attempts before the webhook is disabled. |
| as.webhooks.unhealthyRetryInterval | string | "0s" | Time interval after which disabled webhooks may execute again. |
| as.webhooks.uplinkQueueBufferSize | int | 1024 | Number of requests to queue. |
| console.documentationBaseURL | string | "https://thethingsindustries.com/docs" | The base URL for documentation links in the console. Expected value: URL safe string |
| console.statusPageURL | string | "" | The base URL for generating status page links. Expected value: URL safe string |
| dcs.edcs.blob.bucket | string | "edcs" | Bucket used for EDCS configuration. |
| dcs.gcls.semtechRJS.lnsTrust | string | "" | Trust certificate of the LNS as a PEM encoded string (added in TTS v3.36.2). Required when dcs.gcls.semtechRJS.lnsURI is set. |
| dcs.gcls.semtechRJS.lnsURI | string | "" | LNS URI that gateways claimed through the Semtech RJS are configured with (added in TTS v3.36.2). When set, claimed gateways connect to this LNS directly instead of being redirected to the CUPS. This fixes claiming of The Things Indoor Gateways, which cannot verify the cross-signed Let's Encrypt certificate chain served by the CUPS. Requires dcs.gcls.semtechRJS.lnsTrust to be set as well. |
| gcs.basicStation.gatewayTokenHashKeyID | string | "" | Gateway token hash key ID for the Gateway Server. The value stored at this key must be a base64 encoded AES-128 key. |
| global.assets.baseURL | string | "/assets" | The base URL for static assets. Expected value: URL safe string. This can be used to configure a CDN for static assets. CDN links are also allowed. E.g.: https://assets.coud.thethings.industries. |
| global.blob.aws.accessKeyID | string | "" | Access key ID for S3. |
| global.blob.aws.endpoint | string | "" | Endpoint for S3. |
| global.blob.aws.region | string | "" | AWS region for blob storage. |
| global.blob.aws.s3ForcePathStyle | bool | false | Force path style for S3. |
| global.blob.aws.secretAccessKey | string | "" | Secret access key for S3. |
| global.blob.azure.accountName | string | "" | Azure account name. |
| global.blob.gcp.credentials | string | "" | JSON data of the GCP credentials. |
| global.blob.local.pvc | string | "" | PVC name for local blob storage. |
| global.blob.provider | string | "aws" | Blob Provider. Expected value: aws, azure, gcp or local. |
| global.branding.baseURL | string | "" | The base URL for branding assets. This can be used to configure a CDN for branding assets. CDN links are also allowed. E.g.: https://assets.cloud.thethings.industries/branding. |
| global.branding.clusterID | string | "eu1" | |
| global.branding.text | string | "The Things Stack for LoRaWAN" | |
| global.cache.redis.address | string | "" | Address of the redis cache. Expected value: valid connection string. |
| global.cache.redis.connectionPool.idleTimeout | string | "5m" | Idle timeout for the connections in the Redis connection pool used by the components. |
| global.cache.redis.connectionPool.size | int | 1024 | Maximum number of connections in the Redis connection pool used by the components. |
| global.cache.redis.failover.addresses | list | [] | List of Redis Sentinel addresses (the addresses must be in host:port format). |
| global.cache.redis.failover.enabled | bool | false | Enable Redis failover. |
| global.cache.redis.failover.masterName | string | "mymaster" | Redis Sentinel master name. |
| global.cache.redis.failover.password | string | "" | Redis Sentinel password. |
| global.cache.redis.password | string | "" | (Optional) Password to access Redis. |
| global.cache.redis.readBufferSize | int | 0 | Read buffer size in bytes per Redis connection (added in TTS v3.36.2). 0 uses the client default of 32 KiB. Deployments with a large number of connections can lower this to reduce memory usage. |
| global.cache.redis.readOnly.address | string | "" | Address of the read-only endpoint for Redis (optional). Expected value: valid connection string. |
| global.cache.redis.readOnly.connectionPool.idleTimeout | string | "5m" | Idle timeout for the connections in the Redis connection pool used by the components. |
| global.cache.redis.readOnly.connectionPool.size | int | 1024 | Maximum number of connections in the Redis connection pool used by the components. |
| global.cache.redis.readOnly.password | string | "" | (Optional) Password to access Redis. |
| global.cache.redis.tls.insecureSkipVerify | bool | false | Skip verification of Redis TLS certificate chains (insecure). |
| global.cache.redis.tls.rootCA | string | "" | (Optional) Path to the TLS root CA certificate for Redis. |
| global.cache.redis.writeBufferSize | int | 0 | Write buffer size in bytes per Redis connection (added in TTS v3.36.2). 0 uses the client default of 32 KiB. Deployments with a large number of connections can lower this to reduce memory usage. |
| global.cluster.id | string | "" | Cluster identifier. |
| global.cluster.idAddressTemplate | string | "{{.}}.example.com" | Template for generation of a globally-unique cluster name. For single-cluster deployments, use the domain. |
| global.cluster.keys | string | nil | Cluster secret for The Things Stack. Expected value: hex encoded string. |
| global.console.oauth.clientID | string | "console" | The OAuth client ID for The Things Stack Console. |
| global.console.oauth.clientSecret | string | "" | The value of the OAuth client secret for The Things Stack Console. |
| global.containerSecurityContext.allowPrivilegeEscalation | bool | false | Whether a process can gain more privileges than its parent process. |
| global.containerSecurityContext.capabilities.drop | list | ["ALL"] | Linux capabilities to drop from the container. Defaults to dropping all capabilities; The Things Stack components do not require any. |
| global.deployment.clusterPickerURL | string | "" | A URL pointing to a page that lists available clusters of this deployment. |
| global.deployment.fupInformationURL | string | "" | A URL pointing to an explanation about the fair use policy. |
| global.deployment.initialTenant.adminEmail | string | "[email protected]" | The email ID of the admin for the initial tenant. Expected value: valid email. |
| global.deployment.initialTenant.adminPassword | string | "" | The password for the admin user. Use a strong, difficult to guess password. |
| global.deployment.initialTenant.adminUserID | string | "" | The user ID of the admin for the initial tenant. Use a unique ID and avoid the word admin. |
| global.deployment.initialTenant.tenantID | string | "" | The ID of the initial tenant created during deployment. |
| global.deployment.slaApplies | string | "no" | The SLA availability percentage that applies (e.g. '>99,9%', set to 'no' if no SLA applies). |
| global.deployment.slaInformationUrl | string | "" | A URL pointing to an explanation about the applicable SLA. |
| global.deployment.supportLink | string | "https://www.thethingsindustries.com/support" | The URL to the support page. |
| global.deployment.supportPlanApplies | string | "no" | The support plan that applies (e.g. 'priority', '24h', 'no' ). |
| global.deployment.supportPlanInformationUrl | string | "" | A URL pointing to an explanation about the support plan. |
| global.devEUIBlock.enabled | bool | false | Enable DevEUI address issuing from IEEE MAC block. |
| global.devEUIBlock.initCounter | int | 0 | Initial counter value for the addresses to be issued. |
| global.devEUIBlock.limit | int | 50 | Maximum DevEUI addresses to be issued per application. |
| global.devEUIBlock.prefix | string | "" | DevEUI block prefix. |
| global.domain | string | "thethings.local" | The domain name of the cluster. Expected value: valid FQDN. |
| global.events.redis.address | string | "" | Address of the redis database for storing events. Expected value: valid connection string. |
| global.events.redis.connectionPool.idleTimeout | string | "5m" | Idle timeout for the connections in the Redis connection pool used by the components. |
| global.events.redis.connectionPool.size | int | 1024 | Maximum number of connections in the Redis connection pool used by the components. |
| global.events.redis.failover.addresses | list | [] | List of Redis Sentinel addresses (the addresses must be in host:port format). |
| global.events.redis.failover.enabled | bool | false | Enable Redis failover. |
| global.events.redis.failover.masterName | string | "mymaster" | Redis Sentinel master name. |
| global.events.redis.failover.password | string | "" | Redis Sentinel password. |
| global.events.redis.password | string | "" | (Optional) Password to access Redis. |
| global.events.redis.publishMaxWorkers | int | 1024 | Number of maximum worker routines that execute Redis transactions. |
| global.events.redis.publishQueueSize | int | 8192 | Number of event related Redis transactions to enqueue. |
| global.events.redis.readBufferSize | int | 0 | Read buffer size in bytes per Redis connection (added in TTS v3.36.2). 0 uses the client default of 32 KiB. Deployments with a large number of connections can lower this to reduce memory usage. |
| global.events.redis.readOnly.address | string | "" | (Optional) Address of the read-only endpoint for Redis. Expected value: valid connection string. |
| global.events.redis.readOnly.connectionPool.idleTimeout | string | "5m" | Idle timeout for the connections in the Redis connection pool used by the components. |
| global.events.redis.readOnly.connectionPool.size | int |
Deploy lorawan-stack-helm-chart with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has lorawan-stack-helm-chart 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 chartlorawan-stack-helm-chart is pinned at v2.3.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