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

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:

主站蜘蛛池模板: 屏边| 灯塔市| 南雄市| 姚安县| 遵化市| 高唐县| 海林市| 衡阳市| 金湖县| 石河子市| 威海市| 来安县| 光山县| 咸阳市| 精河县| 阜城县| 浑源县| 綦江县| 桐城市| 锡林浩特市| 元氏县| 类乌齐县| 舞阳县| 白朗县| 岐山县| 舟曲县| 霍邱县| 石景山区| 刚察县| 牙克石市| 双桥区| 玉溪市| 育儿| 佛山市| 宁都县| 白河县| 巴彦县| 庄河市| 上高县| 女性| 靖江市|