pg_upgrade is a bit manual at the moment. If the database could just be pointed to a data directory and update it automatically on startup, that would be great.
Unless something has radically changed with this last release, then the PostgreSQL database needs to be offline while pg_upgrade is running.