0.34.0 Migration Guide¶
Removals¶
- The
disable-chownproperty of thescheduler-docker-localplugin has been removed. Mounted paths will no longer have file permissions changed during the pre-deploy phase. Files baked into the container image for herokuish builds will always be owned by the correct user. - The
git:unlockcommand has been removed. It was previously used to "unlock" a temporary directory that already existed. The directory thegit:unlockcommand used to cleanup is now properly removed on exit of thegit:from-imagecommand. - The k3s plugin no longer supports port mappings other than
https:443andhttp:80. If no matching port map is specified, Dokku will use expose the app on the first port mapping, with priority given tohttpsmappings overhttp. - Golang functions to invoke plugin triggers named
PlugnTrigger*have been removed in favor ofCallPlugnTrigger.
Changes¶
- The k3s scheduler now creates an Ingress object per domain instead of one per port mapping. This will cause a short amount of downtime during the next app deploy after upgrading to 0.34.0
- App lock files have been removed from the
/home/dokkudirectory and moved into thedata/appsdirectory. - Logs are now rotated via
copytruncateinstead ofcreatein logrotate. -
The k3s scheduler now defaults to nginx as it's default proxy implementation. The traefik proxy implementation is still available, though users will need to set the global
ingress-classk3s property totraefikvia the following command:
Deprecations¶
The pre-deploy plugin trigger is deprecated as of 0.34.4. It is currently invoked during the post-release-builder plugin trigger, where image mutation is heavily discouraged. Users should instead move any trigger usage to the pre-release-builder plugin trigger. The pre-deploy plugin trigger will be removed in a future release.