此内容没有您所选择的语言版本。

Chapter 12. Upgrade to Quay 2.0.0


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.

12.1. Download Quay License

To begin, download your Quay License from your Tectonic Account. Please download or copy this license in Raw Format as a file named license:

12.2. Shutdown all Quay instances

Shutdown all running instances of Quay, across all clusters.

12.3. Run a single instance of Quay 2

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.

12.3.1. Add your license to the Quay

Quay setup as a container or under Kubernetes

  • Visit the management panel: Log in as superuser to begin the upgrade process

Sign in to a super user account from the Red Hat Quay 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)

12.3.2. Add license via the filesystem

Ensure the Red Hat Quay 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 Quay:

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
Copy to Clipboard Toggle word wrap

The license file resides in the quay2/config directory:

$ ls quay2/config/
config.yaml  license

$ cat quay2/license
eyJhbGciOiJSUzI1NiJ9.eyJzY2hlbWFWZXJzaW9uIjoidjIiLCJ2ZXJzaW9uIjoiMSIsImNyZWF0aW9uRGF0ZSI6IjIwMTYtMTAtMjZUMTc6MjM6MjJaIiwiZXhwaXJ
[...]
Copy to Clipboard Toggle word wrap

12.4. Update cluster

Update all remaining Quay instances to refer to the new image (quay.io/coreos/quay:v2.0.0).

12.5. Verify cluster

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.

返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat