Rancher私有目录版本是什么意思?
Rancher private catalog version meaning?
在 private catalog description of Rancher 中,config.yml 文件被描述为
name: # Name of the Catalog Entry
description: |
# Description of the Catalog Entry
version: # Version of the Catalog to be used
category: # Category to be used for searching catalog entries
maintainer: # The maintainer of the catalog entry
license: # The license
projectURL: # A URL related to the catalog entry
version:
的确切含义是什么?
以及这个版本规范有什么作用?
当有多个可用版本时,版本用于指定应用程序的默认版本。
例如,假设您正在开发一个待办事项应用程序并发布多个版本 v1.0、v1.1、v1.3 和 v2.0。
您将使用 docker-compose.yml 中指定的不同应用程序图像和 rancher-compose.yml 中指定的不同应用程序版本值创建文件夹 0、1、2、3。
现在,如果您想在部署此目录应用程序时将 v1.3 显示为默认选择的选项,您可以在 config.yml 中指向版本:v1.3。
从社区目录中查看此应用程序以获得更具体的示例:https://github.com/rancher/community-catalog/tree/master/templates/drone
在 private catalog description of Rancher 中,config.yml 文件被描述为
name: # Name of the Catalog Entry
description: |
# Description of the Catalog Entry
version: # Version of the Catalog to be used
category: # Category to be used for searching catalog entries
maintainer: # The maintainer of the catalog entry
license: # The license
projectURL: # A URL related to the catalog entry
version:
的确切含义是什么?
以及这个版本规范有什么作用?
当有多个可用版本时,版本用于指定应用程序的默认版本。
例如,假设您正在开发一个待办事项应用程序并发布多个版本 v1.0、v1.1、v1.3 和 v2.0。
您将使用 docker-compose.yml 中指定的不同应用程序图像和 rancher-compose.yml 中指定的不同应用程序版本值创建文件夹 0、1、2、3。
现在,如果您想在部署此目录应用程序时将 v1.3 显示为默认选择的选项,您可以在 config.yml 中指向版本:v1.3。
从社区目录中查看此应用程序以获得更具体的示例:https://github.com/rancher/community-catalog/tree/master/templates/drone