- Containers in OpenStack
- Pradeep Kumar Singh Madhuri Kumari
- 315字
- 2021-07-02 21:17:26
Introduction to COE
Containers provide users with an easy way to package and run their applications. Packaging involves defining the library and tools that are necessary for a user's application to run. These packages, once converted to images, can be used to create and run containers. These containers can be run anywhere, whether it's on developer laptops, QA systems, or production machines, without any change in environment. Docker and other container runtime tools provide the facility to manage the life cycle of such containers.
Using these tools, users can build and manage images, run containers, delete containers, and perform other container life cycle operations. But these tools can only manage one container on a single host. When we deploy our application on multiple containers and multiple hosts, we need some kind of automation tool. This type of automation is generally called orchestration. Orchestration tools provide a number of features, including:
- Provisioning and managing hosts on which containers will run
- Pulling the images from the repository and instantiating the containers
- Managing the life cycle of containers
- Scheduling containers on hosts based on the host's resource availability
- Starting a new container when one dies
- Scaling the containers to match the application's demand
- Providing networking between containers so that they can access each other on different hosts
- Exposing these containers as services so that they can be accessed from outside
- Health monitoring of the containers
- Upgrading the containers
Generally, these kinds of orchestration tools provide declarative configuration in YAML or JSON format. These definitions carry all of the information related to containers including image, networking, storage, scaling, and other things. Orchestration tools use these definitions to apply the same setting to provide the same environment every time.
There are many container orchestration tools available, such as Docker Machine, Docker Compose, Kuberenetes, Docker Swarm, and Apache Mesos, but this chapter focuses only on Docker Swarm, Apache Mesos, and Kubernetes.
- 現代測控電子技術
- Photoshop CS4經典380例
- Hands-On Data Science with SQL Server 2017
- Hadoop應用開發基礎
- Chef:Powerful Infrastructure Automation
- Cloud Security Automation
- 電子設備及系統人機工程設計(第2版)
- 生物3D打印:從醫療輔具制造到細胞打印
- 三菱FX/Q系列PLC工程實例詳解
- 筆記本電腦維修之電路分析基礎
- 電腦故障排除與維護終極技巧金典
- FreeCAD [How-to]
- 軟件測試管理
- Raspberry Pi 3 Projects for Java Programmers
- AVR單片機C語言程序設計實例精粹