Skip to content

tsuru 0.17.0

Compare
Choose a tag to compare
@fsouza fsouza released this 27 Aug 14:16

tsuru 0.17.0 matches the 0.12.0 release of tsuru server.

Features

  • It's now possible to filter the output of tsuru app-list. You can check the available filters using tsuru app-list --help. Related to tsuru/tsuru#1134 and tsuru/tsuru#1210.
  • tsuru app-shell now uses WebSocket for communication, improving API compatibility with reverse proxies that support HTTP connection upgrades. tsuru/tsuru#1162
  • tsuru app-info now includes information about locks, reporting whether the application is locked or not, and for how long the application has been locked and who's the owner of the lock.
  • New command: tsuru app-plan-change. Yeah, it does what you think: it changes the plan of an application, taking two possible actions:
    • if the router changes, move application units and change its address
    • if at least one of memory, swap or CPU changes, restart the application
  • When running tsuru team-list, admin users now see all teams registered in remote server
  • New commands for managing access to service instances (tsuru service-instance-grant and tsuru service-instance-revoke)
  • Process based management. The following commands are affected by lean containers (tsuru/tsuru#1136):
    • app-stop, app-start and app-restart: there's an optional -p/--process parameter, allowing users to stop, start or restart only units running the specified process
    • unit-add and unit-remove: there's a -p/--process parameter which is mandatory if the application has more than one process. Therefore, users can scale their units based on the process that they're running
  • The output of tsuru pool-list now include the public pools (pools available to any user) tsuru/tsuru#1202

Bug fixes

  • tsuru app-deploy now checks whether the user has access to the application before starting the upload (thanks Jonathan Prates) tsuru/tsuru#1190
  • tsuru user-remove no longer removes the .tsuru-token file. The motivation behind this feature relied on the fact that in the past, users were able to remove only themselves from tsuru, so logging out used to make sense, but now admin users can remove any user (thanks Dan Carley) tsuru/tsuru#1235
  • tsuru key-add now properly report failures when trying to override a key. Whenever a user tries to add a key that already exists, the command asks whether the user wants to override it. There's also a flag to force overriding without asking. tsuru/tsuru#1249

General improvements

  • Improve the output of tsuru app-deploy-list when the application has no deploys

Deprecated commands

  • tsuru app-change-pool has been renamed to tsuru app-pool-change