- Kubernetes for Serverless Applications
- Russ McKendrick
- 227字
- 2021-07-02 19:16:41
Cattle
Cattle are more representative of the instance types you should be running in public clouds such as Amazon Web Services (AWS) or Microsoft Azure, where you have auto scaling enabled.
- You have so many cattle in your herd you don't name them; instead they are given numbers and tagged so you can track them. In your instance cluster, you can also have too many to name so, like cattle, you give them numbers and tag them. For example, an instance could be called ip123067099123.domain.com and tagged as app-server.
- When a member of your herd gets sick, you shoot it, and if your herd requires it you replace it. In much the same way, if an instance in your cluster starts to have issues it is automatically terminated and replaced with a replica.
- You do not expect the cattle in your herd to live as long as a pet typically would, likewise you do not expect your instances to have an uptime measured in years.
- Your herd lives in a field and you watch it from afar, much like you don't monitor inpidual instances within your cluster; instead, you monitor the overall health of your cluster. If your cluster requires additional resources, you launch more instances and when you no longer require a resource, the instances are automatically terminated, returning you to your desired state.
推薦閱讀
- Big Data Analytics with Hadoop 3
- Java編程全能詞典
- 現代測控系統典型應用實例
- Learning Social Media Analytics with R
- INSTANT Varnish Cache How-to
- 3D Printing for Architects with MakerBot
- Implementing Splunk 7(Third Edition)
- 信息物理系統(CPS)測試與評價技術
- Troubleshooting OpenVPN
- 工業機器人應用案例集錦
- Lightning Fast Animation in Element 3D
- OpenStack Cloud Computing Cookbook
- 深度學習與目標檢測
- 網絡管理工具實用詳解
- 統計挖掘與機器學習:大數據預測建模和分析技術(原書第3版)