Integration with the cloud platform
Most cloud platforms support both TCP- and HTTP-based checks. To integrate health checks with your selected cloud platform, you need to configure your cloud deployment to point to the HTTP entry point, /health, on the node that hosts your application.
The cloud platform will invoke a GET query on the HTTP entry point; all checks that are registered will be performed and the sum of individual checks determines the overall outcome.
Usually, the response payload is ignored by the cloud platform and it only looks at the HTTP status code to determine the liveness or readiness of your application. A successful outcome, UP, will be mapped to 200 and DOWN to 503.
推薦閱讀
- C++黑客編程揭秘與防范
- 互聯網安全的40個智慧洞見:2015年中國互聯網安全大會文集
- Kong網關:入門、實戰與進階
- 新手易學:新手學淘寶開店
- 網絡安全應急響應技術實戰指南
- 網管工具使用與技巧大全
- VMware NSX網絡虛擬化入門
- 網絡工程實施技術與方案大全
- 基于IPv6的家居物聯網開發與應用技術
- Python API Development Fundamentals
- Architecting Data:Intensive Applications
- Building Microservices with Spring
- 無線傳感器網絡定位方法及應用
- 網絡分析技術揭秘:原理、實踐與WinPcap深入解析
- 天下一家:網絡聯通世界(科學新導向叢書)