简体   繁体   English

在 Deployment Manager 模板中对资源实施健康检查

[英]Implementing Health Check for resource in deployment manager templates

Using Deployment Manager I am trying to deploy compute instance resource running a particular web server which comes up after 5-10 min after booting up and I want deployment manager to check if the web service has come up before giving the status as "SUCCESS",使用 Deployment Manager 我正在尝试部署运行特定 Web 服务器的计算实例资源,该服务器在启动后 5-10 分钟后出现,我希望部署管理器检查 Web 服务是否已出现,然后再将状态显示为“SUCCESS”,

Is there a way in deployment manager template through which I can implement this check ( a simple get request on server url port 80/443 )?部署管理器模板中是否有一种方法可以实现此检查(服务器 url 端口 80/443 上的简单获取请求)?

I found following example through which deployment manager will wait before a stage is passed before giving a success signal.我发现了以下示例,部署管理器将通过该示例在阶段通过之前等待,然后再发出成功信号。

With this my requirement is fulfilled.这样我的要求就满足了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 看不懂健康检查中的文字 - Do not understand the text in health check GCP:健康检查不适用于非 80 端口 - GCP: Health check not working on non-80-port 如何使用 AWS Appsync 创建自定义的、硬编码的运行状况检查 GraphQL 查询? - How to create a custom, hardcoded health check GraphQL query with AWS Appsync? google node api 是否支持部署管理器函数调用? - Does google node api support deployment manager function calls? 无法使用编辑角色检查 firebase 资源 - Not able to check firebase resource with editor's role 如何在部署 Python Bottle 服务器时通过 AWS App Runner 的健康检查测试? - How to pass health check tests on AWS App Runner while deploying Python Bottle server? Firebase App Check with Vue 3 Invalid app resource name - Firebase App Check with Vue 3 Invalid app resource name 有关如何自动检查 AWS 资源的较新版本并更新它的建议。 使用的 IAC 是 Terraform - Suggestions on how to have an automated job check for newer versions of an AWS resource and update it. The IAC used is Terraform 如何通过 firebase 安全规则中的团队成员资格检查资源访问权限? - How to check resource access rights via team membership in firebase security rules? 加载多个模板 - Loading multiple templates
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM