Docs
Router update
A router goes to a new version: its parts are replaced in order, its workloads untouched.
3 min read
The commands are on the CLI’s routers page; each version’s changes are on Releases. Each timeline replays one update.
AWS
Google Cloud
The steps
- You start the update from the CLI, router by router.
- The CLI prints the plan and asks first; a dry run stops there.
- The router’s parts are replaced in order; its state, its workloads and their settings stay.
- Requests keep their route: nothing of your load balancer changes.
- The update ends on a check: the controller answers with its new version.
- A failed step stops the update and says why; run it again to go on.
AWS
dormeto aws routers upgradestarts the manager’supgrade-routeroperation.- The operation acts as DmtCommandRole, in the router’s account and region.
- It brings the router to the version the manager installs: Manager update.
- Its EKS access entries and private clusters’ proxies follow, where it has some.
Google Cloud
dormeto gcp routers install --versionupdates it, as your gcloud account.- Cloud Run serves each service’s new revision once it is ready.
- The roles and grants of the router’s service account change only where the new version needs it.
- The router’s image comes from Dormeto’s registry: Router.
Parts and permissions
Each part acts with the role Roles names.
| Component | AWS | Google Cloud | What it does |
|---|---|---|---|
| The update | dormeto gcp, your gcloud account | Replaces the router’s parts, in order. | |
| Its identity | Changes the router’s parts only. | ||
| The router | Runs the controller and the waker. | ||
| Its state | Kept: workloads, settings and runs. |
What can go wrong
| Message | Cause | Fix |
|---|---|---|
no_access | The router’s account has no command role. | Give the account its command role: Access. |
Done: <steps>. Not done: <steps>. Run the same command again to continue. | Google refused a step of the update. | Run the same install again to finish the remaining steps. |