All Quay instances being upgraded from versions < 2.0.0 must upgrade to Quay 2.0.0 first before continuing to upgrade. This upgrade has an extra step, documented here.
We highly recommend performing this upgrade during a scheduled maintenance window, as it will require taking the existing cluster down temporarily.
To begin, download your Quay License from your
Tectonic Account. Please download or copy
this license in Raw Format as a file named license
:
Run a single instance of Quay 2.0.0 by replacing
quay.io/coreos/registry:{currentVersion}
with
quay.io/coreos/quay:v2.0.0
in your run command, startup script, config
or systemd unit.
Quay setup as a container or under Kubernetes
Sign in to a superuser account from the {productname} login screen. For
example, if the host were reg.example.com, you would go to http://reg.example.com/superuser
to view the management panel:
-
Click the configuration tab
-
In the section entitled
License
, paste in the contents of the license downloaded above -
Click
Save Configuration Changes
-
Restart the container (you will be prompted)
Ensure {productname} instance has been shutdown and add the raw format license in
license
file to the directory mapped to conf/stack
, next to the
existing config.yaml
.
Example:
The conf/stack
directory is mapped to quay2/config
in docker run
command used to
bring up {productname}:
# docker login quay.io
Username: yourquayuser
Password: *********
# docker run --restart=always -p 443:443 -p 80:80 --privileged=true -v /quay2/config:/conf/stack -v /quay2/storage:/datastorage -d quay.io/coreos/quay:v2.0.0
The license
file resides in the quay2/config
directory:
$ ls quay2/config/
config.yaml license
$ cat quay2/license
eyJhbGciOiJSUzI1NiJ9.eyJzY2hlbWFWZXJzaW9uIjoidjIiLCJ2ZXJzaW9uIjoiMSIsImNyZWF0aW9uRGF0ZSI6IjIwMTYtMTAtMjZUMTc6MjM6MjJaIiwiZXhwaXJ
[...]
Update all remaining Quay instances to refer to the new image
(quay.io/coreos/quay:v2.0.0
).
Verify that your cluster and its license are valid by performing a push
or pull. If you receive an HTTP 402
, please make sure your license is
properly installed and valid by checking in the management panel (see
above for instructions).
If you encounter unusual problems, please contact support.