GCP Deployment Manager模板是否需要架构文件? [英] Do GCP Deployment Manager templates require a schema file?

查看:52
本文介绍了GCP Deployment Manager模板是否需要架构文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于模板本身可以存储值(除了从配置yaml文件接收值外),创建模板时是否需要架构?

Since the templates can store values themselves (in addition to receiving values from the configuration yaml file), is a schema required when we create a template?

如果不是,是否仅使用模式来强制要求哪些值以及需要提供给模板的值的类型?

If not, is the use of the schema just to enforce which values are required, and the type of values that need to be provided to the template?

编辑
我指的是模板架构,而不是资源属性架构: https://cloud.google.com/deployment-manager/docs/configuration/templates/using-schemas

推荐答案

Google部署管理器不需要您指定架构,但是可以为特定的用例创建一个架构.我经常使用Deployment Manager,而我的部署只使用标准的YAML语法.

Google Deployment Manager does not require that you specify a schema, but you can create one for specific use cases. I use Deployment Manager often, and I just use the standard YAML syntax for my deployments.

对于有兴趣了解更多信息的人:

For those interested in learning more:

Cloud Deployment Manager:使用架构

这篇关于GCP Deployment Manager模板是否需要架构文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆