This page describes the steps for upgrading The Things Stack on Azure Kubernetes Service.
Database Migration
The Things Stack database schema is managed between minor versions using database migrations.
Note:
User are informed of required migrations for each version via the Release Notes. It’s mandatory to run required database migrations for The Things Stack to function properly.To migrate the database during an upgrade set the respective Terraform variables to true
.
Service | Variable |
---|---|
IS | is-db-migrate |
NOC | noc-db-migrate |
Note:
For example to migrate Identity Server and Network Operations Center databases run the following command.
$ terraform apply -var='is-db-migrate=true' -var='noc-db-migrate=true'
Kubernetes version upgrade
AKS Kubernetes version upgrades have to be performed sequentially for each minor version. For example to upgrade from 1.25
to 1.27
it’s necessary to upgrade to version 1.26
first as an intermediate step. For more information refer to the official documentation.