官术网_书友最值得收藏!

Contrasting containers and VMs

You might recall our short introduction of containers, and Kubernetes, at the start of the previous chapter. We had given the example of a simple web application, with a web app upfront and a database out back. We could start with these hosted on VM instances—but then, as the web app got complicated, we'd likely decompose the code into separate services. This move from a monolithic architecture to a service-oriented one, and finally, perhaps even to one based on microservices, is quite typical of the evolution of such app architectures.

The dependencies between these services would quickly get complicated to manage and, to simplify things, we'd probably decompose the services to rest on separate VMs. Then, at this point, we probably would want a continuous integration/continuous delivery (CI/CD) system, where code artifacts are built and deployed on an on-going basis. There would be little point in including the OS image inside each such artifact. That, in a nutshell, gets us to the idea of containers and their differences from VMs. The following diagram shows how containers are different from VMs:

主站蜘蛛池模板: 麦盖提县| 文山县| 库尔勒市| 天峨县| 时尚| 右玉县| 吴川市| 唐山市| 霸州市| 平阳县| 卫辉市| 阳西县| 八宿县| 新和县| 遂昌县| 施秉县| 景宁| 阿合奇县| 改则县| 赣榆县| 冕宁县| 旺苍县| 白银市| 沽源县| 马尔康县| 彝良县| 隆回县| 南平市| 阳原县| 金川县| 内黄县| 岢岚县| 莫力| 五指山市| 桦川县| 秦皇岛市| 原平市| 宜宾市| 双鸭山市| 大足县| 乾安县|