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

Kubernetes resource – Deployment

The most common and recommended way to run code on Kubernetes is with a deployment, which is managed by a deployment controller. We will explore deployments in the next and further chapters, both specifying them directly and creating them implicitly with commands such as kubectl run.

A Pod by itself is interesting, but limited, specifically because it is intended to be ephemeral. If a Node were to die (or get powered down), all the Pods on that Node would stop running. ReplicaSets provide self-healing capabilities. The work within the cluster to recognize when a Pod is no longer available and will attempt to schedule another Pod, typically to bring a service back online, or otherwise continue doing work.

The deployment controller wraps around and extends the ReplicaSet controller, and is primarily responsible for rolling out software updates and managing the process of that rollout when you update your deployment resource with new versions of your software. The deployment controller includes metadata settings to know how many Pods to keep running so that you can enable a seamless rolling update of your software by adding new versions of a container, and stopping old versions when you request it.

主站蜘蛛池模板: 云龙县| 论坛| 读书| 泌阳县| 红原县| 贵南县| 察哈| 黎平县| 石门县| 双牌县| 慈溪市| 凤山市| 项城市| 蒙城县| 于都县| 化德县| 托克逊县| 大邑县| 安徽省| 永德县| 方山县| 拜泉县| 华宁县| 定州市| 孟津县| 大厂| 北票市| 新丰县| 江华| 原阳县| 蓬安县| 贡嘎县| 呼和浩特市| 梓潼县| 思茅市| 来凤县| 景宁| 迁安市| 佛学| 洛南县| 普定县|