爆款云主机2核4G限时秒杀,88元/年起!
查看详情

活动

天翼云最新优惠活动,涵盖免费试用,产品折扣等,助您降本增效!
热门活动
  • 618智算钜惠季 爆款云主机2核4G限时秒杀,88元/年起!
  • 免费体验DeepSeek,上天翼云息壤 NEW 新老用户均可免费体验2500万Tokens,限时两周
  • 云上钜惠 HOT 爆款云主机全场特惠,更有万元锦鲤券等你来领!
  • 算力套餐 HOT 让算力触手可及
  • 天翼云脑AOne NEW 连接、保护、办公,All-in-One!
  • 中小企业应用上云专场 产品组合下单即享折上9折起,助力企业快速上云
  • 息壤高校钜惠活动 NEW 天翼云息壤杯高校AI大赛,数款产品享受线上订购超值特惠
  • 天翼云电脑专场 HOT 移动办公新选择,爆款4核8G畅享1年3.5折起,快来抢购!
  • 天翼云奖励推广计划 加入成为云推官,推荐新用户注册下单得现金奖励
免费活动
  • 免费试用中心 HOT 多款云产品免费试用,快来开启云上之旅
  • 天翼云用户体验官 NEW 您的洞察,重塑科技边界

智算服务

打造统一的产品能力,实现算网调度、训练推理、技术架构、资源管理一体化智算服务
智算云(DeepSeek专区)
科研助手
  • 算力商城
  • 应用商城
  • 开发机
  • 并行计算
算力互联调度平台
  • 应用市场
  • 算力市场
  • 算力调度推荐
一站式智算服务平台
  • 模型广场
  • 体验中心
  • 服务接入
智算一体机
  • 智算一体机
大模型
  • DeepSeek-R1-昇腾版(671B)
  • DeepSeek-R1-英伟达版(671B)
  • DeepSeek-V3-昇腾版(671B)
  • DeepSeek-R1-Distill-Llama-70B
  • DeepSeek-R1-Distill-Qwen-32B
  • Qwen2-72B-Instruct
  • StableDiffusion-V2.1
  • TeleChat-12B

应用商城

天翼云精选行业优秀合作伙伴及千余款商品,提供一站式云上应用服务
进入甄选商城进入云市场创新解决方案
办公协同
  • WPS云文档
  • 安全邮箱
  • EMM手机管家
  • 智能商业平台
财务管理
  • 工资条
  • 税务风控云
企业应用
  • 翼信息化运维服务
  • 翼视频云归档解决方案
工业能源
  • 智慧工厂_生产流程管理解决方案
  • 智慧工地
建站工具
  • SSL证书
  • 新域名服务
网络工具
  • 翼云加速
灾备迁移
  • 云管家2.0
  • 翼备份
资源管理
  • 全栈混合云敏捷版(软件)
  • 全栈混合云敏捷版(一体机)
行业应用
  • 翼电子教室
  • 翼智慧显示一体化解决方案

合作伙伴

天翼云携手合作伙伴,共创云上生态,合作共赢
天翼云生态合作中心
  • 天翼云生态合作中心
天翼云渠道合作伙伴
  • 天翼云代理渠道合作伙伴
天翼云服务合作伙伴
  • 天翼云集成商交付能力认证
天翼云应用合作伙伴
  • 天翼云云市场合作伙伴
  • 天翼云甄选商城合作伙伴
天翼云技术合作伙伴
  • 天翼云OpenAPI中心
  • 天翼云EasyCoding平台
天翼云培训认证
  • 天翼云学堂
  • 天翼云市场商学院
天翼云合作计划
  • 云汇计划
天翼云东升计划
  • 适配中心
  • 东升计划
  • 适配互认证

开发者

开发者相关功能入口汇聚
技术社区
  • 专栏文章
  • 互动问答
  • 技术视频
资源与工具
  • OpenAPI中心
开放能力
  • EasyCoding敏捷开发平台
培训与认证
  • 天翼云学堂
  • 天翼云认证
魔乐社区
  • 魔乐社区

支持与服务

为您提供全方位支持与服务,全流程技术保障,助您轻松上云,安全无忧
文档与工具
  • 文档中心
  • 新手上云
  • 自助服务
  • OpenAPI中心
定价
  • 价格计算器
  • 定价策略
基础服务
  • 售前咨询
  • 在线支持
  • 在线支持
  • 工单服务
  • 建议与反馈
  • 用户体验官
  • 服务保障
  • 客户公告
  • 会员中心
增值服务
  • 红心服务
  • 首保服务
  • 客户支持计划
  • 专家技术服务
  • 备案管家

了解天翼云

天翼云秉承央企使命,致力于成为数字经济主力军,投身科技强国伟大事业,为用户提供安全、普惠云服务
品牌介绍
  • 关于天翼云
  • 智算云
  • 天翼云4.0
  • 新闻资讯
  • 天翼云APP
基础设施
  • 全球基础设施
  • 信任中心
最佳实践
  • 精选案例
  • 超级探访
  • 云杂志
  • 分析师和白皮书
  • 天翼云·创新直播间
市场活动
  • 2025智能云生态大会
  • 2024智算云生态大会
  • 2023云生态大会
  • 2022云生态大会
  • 天翼云中国行
天翼云
  • 活动
  • 智算服务
  • 产品
  • 解决方案
  • 应用商城
  • 合作伙伴
  • 开发者
  • 支持与服务
  • 了解天翼云
      • 文档
      • 控制中心
      • 备案
      • 管理中心

      Pod 优先级及资源抢占(官方文档及关键点翻译)

      首页 知识中心 其他 文章详情页

      Pod 优先级及资源抢占(官方文档及关键点翻译)

      2023-04-21 03:15:55 阅读次数:140

      Pod

      Pod Priority and Preemption

      FEATURE STATE: ​​Kubernetes 1.14​​​ ​​stable​​(请使用最新版以获得最好支持)

      ​​Pods​​ can have priority. Priority indicates the importance of a Pod relative to other Pods. If a Pod cannot be scheduled, the scheduler tries to preempt (evict) lower priority Pods to make scheduling of the pending Pod possible.

      In Kubernetes 1.9 and later, Priority also affects scheduling order of Pods and out-of-resource eviction ordering on the Node.

      Pod priority and preemption graduated to beta in Kubernetes 1.11 and to GA in Kubernetes 1.14. They have been enabled by default since 1.11.

      In Kubernetes versions where Pod priority and preemption is still an alpha-level feature, you need to explicitly enable it. To use these features in the older versions of Kubernetes, follow the instructions in the documentation for your Kubernetes version, by going to the documentation archive version for your Kubernetes version.

      Kubernetes Version

      Priority and Preemption State

      Enabled by default

      1.8

      alpha

      no

      1.9

      alpha

      no

      1.10

      alpha

      no

      1.11

      beta

      yes

      1.14

      stable

      yes(可以在生产环境结合具体业务使用)

      Warning: In a cluster where not all users are trusted, a malicious user could create pods at the highest possible priorities, causing other pods to be evicted/not get scheduled. To resolve this issue, ​​ResourceQuota​​ is augmented to support Pod priority. An admin can create ResourceQuota for users at specific priority levels, preventing them from creating pods at high priorities. This feature is in beta since Kubernetes 1.12.

      集群中恶意用户可能会创建尽可能高优先级pod,从而导致普通pod被排挤或者无法调度。系统管理员可以将资源配额与pod优先级结合,限制用户创建高优先级pod、或者对用处创建的高优先级pod能够使用的资源数量,从而阻止他们抢占太多的集群资源

      • ​​How to use priority and preemption​​
      • ​​How to disable preemption​​
      • ​​PriorityClass​​
      • ​​Pod priority​​
      • ​​Preemption​​
      • ​​Debugging Pod Priority and Preemption​​
      • ​​Interactions of Pod priority and QoS​​

      How to use priority and preemption

      To use priority and preemption in Kubernetes 1.11 and later, follow these steps:

      1. Add one or more ​​PriorityClasses​​.(增加一个或者多个​​PriorityClasses​​)
      2. Create Pods with​​priorityClassName​​ set to one of the added PriorityClasses. (为pod增加priorityClassName字段)Of course you do not need to create the Pods directly; normally you would add ​​priorityClassName​​ to the Pod template of a collection object like a Deployment.

      Keep reading for more information about these steps.

      If you try the feature and then decide to disable it, you must remove the PodPriority command-line flag or set it to ​​false​​​, and then restart the API server and scheduler. After the feature is disabled, the existing Pods keep their priority fields, but preemption is disabled, and priority fields are ignored. If the feature is disabled, you cannot set ​​priorityClassName​​ in new Pods.

      (如果只打算测试此特性然后禁用,则需要删除PodPriority命令行标志或者将其设置成false,然后重新启动apiServer与scheduler。特性被禁用后,旧pod仍然保在优先级相关字段,但被忽略,抢占被禁止。新创建pod不可以再使用
      priorityClassName字段)

      How to disable preemption

      Note: In Kubernetes 1.12+, critical pods rely on scheduler preemption to be scheduled when a cluster is under resource pressure. For this reason, it is not recommended to disable preemption.

      关键pod在集群资源紧张时仍可通过抢占机制部署,因此不建议禁用此特性

      In Kubernetes 1.11 and later, preemption is controlled by a kube-scheduler flag ​​disablePreemption​​​, which is set to ​​false​​​ by default. If you want to disable preemption despite the above note, you can set ​​disablePreemption​​​ to ​​true​​.

      (将kube-scheduler的disablePreemption标志设置为true既可禁用此功能,并且仍然保留优先级功能。如果禁用优先级功能,则连同抢占功能也一同被禁用)

      This option is available in component configs only and is not available in old-style command line options. Below is a sample component config to disable preemption:

      apiVersion: componentconfig/v1alpha1
      kind: KubeSchedulerConfiguration
      algorithmSource:
      provider: DefaultProvider

      ...

      disablePreemption: true

      PriorityClass

      A PriorityClass is a non-namespaced object that defines a mapping from a priority class name to the integer value of the priority. The name is specified in the ​​name​​​ field of the PriorityClass object’s metadata. The value is specified in the required ​​value​​ field. The higher the value, the higher the priority.

      (PriorityClass 不属于任何的命名空间namespace,优先级的值是整数,值越大优先级则越高)

      A PriorityClass object can have any 32-bit integer value smaller than or equal to 1 billion. Larger numbers are reserved for critical system Pods that should not normally be preempted or evicted. A cluster admin should create one PriorityClass object for each such mapping that they want.

      (值是32-bit integer的任何值,应该小于1000000000 ,更大的值被系统保留。管理员根据具体业务创建PriorityClass对象 )

      PriorityClass also has two optional fields: ​​globalDefault​​​ and ​​description​​​. The ​​globalDefault​​​ field indicates that the value of this PriorityClass should be used for Pods without a ​​priorityClassName​​​. Only one PriorityClass with ​​globalDefault​​​ set to true can exist in the system. If there is no PriorityClass with ​​globalDefault​​​ set, the priority of Pods with no ​​priorityClassName​​ is zero.

      The ​​description​​ field is an arbitrary string. It is meant to tell users of the cluster when they should use this PriorityClass.

      Notes about PodPriority and existing clusters

      • If you upgrade your existing cluster and enable this feature, the priority of your existing Pods is effectively zero.
      • Addition of a PriorityClass with ​​globalDefault​​ set to ​​true​​ does not change the priorities of existing Pods. The value of such a PriorityClass is used only for Pods created after the PriorityClass is added.
      • If you delete a PriorityClass, existing Pods that use the name of the deleted PriorityClass remain unchanged, but you cannot create more Pods that use the name of the deleted PriorityClass.

      Example PriorityClass

      apiVersion: scheduling.k8s.io/v1
      kind: PriorityClass
      metadata:
      name: high-priority
      value: 1000000
      globalDefault: false
      description: "This priority class should be used for XYZ service pods only."

      Pod priority

      After you have one or more PriorityClasses, you can create Pods that specify one of those PriorityClass names in their specifications. The priority admission controller uses the ​​priorityClassName​​ field and populates the integer value of the priority. If the priority class is not found, the Pod is rejected.

      The following YAML is an example of a Pod configuration that uses the PriorityClass created in the preceding example. The priority admission controller checks the specification and resolves the priority of the Pod to 1000000.

      apiVersion: v1
      kind: Pod
      metadata:
      name: nginx
      labels:
      env: test
      spec:
      containers:
      - name: nginx
      image: nginx
      imagePullPolicy: IfNotPresent
      priorityClassName: high-priority

      Effect of Pod priority on scheduling order

      In Kubernetes 1.9 and later, when Pod priority is enabled, scheduler orders pending Pods by their priority and a pending Pod is placed ahead of other pending Pods with lower priority in the scheduling queue. As a result, the higher priority Pod may be scheduled sooner than Pods with lower priority if its scheduling requirements are met. If such Pod cannot be scheduled, scheduler will continue and tries to schedule other lower priority Pods.

      Preemption

      When Pods are created, they go to a queue and wait to be scheduled. The scheduler picks a Pod from the queue and tries to schedule it on a Node. If no Node is found that satisfies all the specified requirements of the Pod, preemption logic is triggered for the pending Pod. Let’s call the pending Pod P. Preemption logic tries to find a Node where removal of one or more Pods with lower priority than P would enable P to be scheduled on that Node. If such a Node is found, one or more lower priority Pods get evicted from the Node. After the Pods are gone, P can be scheduled on the Node.

      User exposed information

      When Pod P preempts one or more Pods on Node N, ​​nominatedNodeName​​ field of Pod P’s status is set to the name of Node N. This field helps scheduler track resources reserved for Pod P and also gives users information about preemptions in their clusters.

      Please note that Pod P is not necessarily scheduled to the “nominated Node”. After victim Pods are preempted, they get their graceful termination period. If another node becomes available while scheduler is waiting for the victim Pods to terminate, scheduler will use the other node to schedule Pod P. As a result ​​nominatedNodeName​​​ and ​​nodeName​​​ of Pod spec are not always the same. Also, if scheduler preempts Pods on Node N, but then a higher priority Pod than Pod P arrives, scheduler may give Node N to the new higher priority Pod. In such a case, scheduler clears ​​nominatedNodeName​​of Pod P. By doing this, scheduler makes Pod P eligible to preempt Pods on another Node.

      Limitations of preemption

      Graceful termination of preemption victims

      When Pods are preempted, the victims get their ​​graceful termination period​​. They have that much time to finish their work and exit. If they don’t, they are killed. This graceful termination period creates a time gap between the point that the scheduler preempts Pods and the time when the pending Pod (P) can be scheduled on the Node (N). In the meantime, the scheduler keeps scheduling other pending Pods. As victims exit or get terminated, the scheduler tries to schedule Pods in the pending queue. Therefore, there is usually a time gap between the point that scheduler preempts victims and the time that Pod P is scheduled. In order to minimize this gap, one can set graceful termination period of lower priority Pods to zero or a small number.

      PodDisruptionBudget is supported, but not guaranteed!

      A ​​Pod Disruption Budget (PDB)​​ allows application owners to limit the number of Pods of a replicated application that are down simultaneously from voluntary disruptions. Kubernetes 1.9 supports PDB when preempting Pods, but respecting PDB is best effort. The Scheduler tries to find victims whose PDB are not violated by preemption, but if no such victims are found, preemption will still happen, and lower priority Pods will be removed despite their PDBs being violated.

      Inter-Pod affinity on lower-priority Pods

      A Node is considered for preemption only when the answer to this question is yes: “If all the Pods with lower priority than the pending Pod are removed from the Node, can the pending Pod be scheduled on the Node?”

      Note: Preemption does not necessarily remove all lower-priority Pods. If the pending Pod can be scheduled by removing fewer than all lower-priority Pods, then only a portion of the lower-priority Pods are removed. Even so, the answer to the preceding question must be yes. If the answer is no, the Node is not considered for preemption.

      If a pending Pod has inter-pod affinity to one or more of the lower-priority Pods on the Node, the inter-Pod affinity rule cannot be satisfied in the absence of those lower-priority Pods. In this case, the scheduler does not preempt any Pods on the Node. Instead, it looks for another Node. The scheduler might find a suitable Node or it might not. There is no guarantee that the pending Pod can be scheduled.

      Our recommended solution for this problem is to create inter-Pod affinity only towards equal or higher priority Pods.

      Cross node preemption

      Suppose a Node N is being considered for preemption so that a pending Pod P can be scheduled on N. P might become feasible on N only if a Pod on another Node is preempted. Here’s an example:

      • Pod P is being considered for Node N.
      • Pod Q is running on another Node in the same Zone as Node N.
      • Pod P has Zone-wide anti-affinity with Pod Q (​​topologyKey: failure-domain.beta.kubernetes.io/zone​​).
      • There are no other cases of anti-affinity between Pod P and other Pods in the Zone.
      • In order to schedule Pod P on Node N, Pod Q can be preempted, but scheduler does not perform cross-node preemption. So, Pod P will be deemed unschedulable on Node N.

      If Pod Q were removed from its Node, the Pod anti-affinity violation would be gone, and Pod P could possibly be scheduled on Node N.

      We may consider adding cross Node preemption in future versions if there is enough demand and if we find an algorithm with reasonable performance.

      Debugging Pod Priority and Preemption

      Pod Priority and Preemption is a major feature that could potentially disrupt Pod scheduling if it has bugs.

      Potential problems caused by Priority and Preemption

      The followings are some of the potential problems that could be caused by bugs in the implementation of the feature. This list is not exhaustive.

      Pods are preempted unnecessarily

      Preemption removes existing Pods from a cluster under resource pressure to make room for higher priority pending Pods. If a user gives high priorities to certain Pods by mistake, these unintentional high priority Pods may cause preemption in the cluster. As mentioned above, Pod priority is specified by setting the ​​priorityClassName​​​ field of ​​podSpec​​​. The integer value of priority is then resolved and populated to the ​​priority​​​ field of ​​podSpec​​.

      To resolve the problem, ​​priorityClassName​​​ of the Pods must be changed to use lower priority classes or should be left empty. Empty ​​priorityClassName​​ is resolved to zero by default.

      When a Pod is preempted, there will be events recorded for the preempted Pod. Preemption should happen only when a cluster does not have enough resources for a Pod. In such cases, preemption happens only when the priority of the pending Pod (preemptor) is higher than the victim Pods. Preemption must not happen when there is no pending Pod, or when the pending Pods have equal or lower priority than the victims. If preemption happens in such scenarios, please file an issue.

      Pods are preempted, but the preemptor is not scheduled

      When pods are preempted, they receive their requested graceful termination period, which is by default 30 seconds, but it can be any different value as specified in the PodSpec. If the victim Pods do not terminate within this period, they are force-terminated. Once all the victims go away, the preemptor Pod can be scheduled.

      While the preemptor Pod is waiting for the victims to go away, a higher priority Pod may be created that fits on the same node. In this case, the scheduler will schedule the higher priority Pod instead of the preemptor.

      In the absence of such a higher priority Pod, we expect the preemptor Pod to be scheduled after the graceful termination period of the victims is over.

      Higher priority Pods are preempted before lower priority pods

      The scheduler tries to find nodes that can run a pending Pod and if no node is found, it tries to remove Pods with lower priority from one node to make room for the pending pod. If a node with low priority Pods is not feasible to run the pending Pod, the scheduler may choose another node with higher priority Pods (compared to the Pods on the other node) for preemption. The victims must still have lower priority than the preemptor Pod.

      When there are multiple nodes available for preemption, the scheduler tries to choose the node with a set of Pods with lowest priority. However, if such Pods have PodDisruptionBudget that would be violated if they are preempted then the scheduler may choose another node with higher priority Pods.

      When multiple nodes exist for preemption and none of the above scenarios apply, we expect the scheduler to choose a node with the lowest priority. If that is not the case, it may indicate a bug in the scheduler.

      Interactions of Pod priority and QoS

      Pod priority and ​​QoS​​​ are two orthogonal features with few interactions and no default restrictions on setting the priority of a Pod based on its QoS classes. The scheduler’s preemption logic does not consider QoS when choosing preemption targets. Preemption considers Pod priority and attempts to choose a set of targets with the lowest priority. Higher-priority Pods are considered for preemption only if the removal of the lowest priority Pods is not sufficient to allow the scheduler to schedule the preemptor Pod, or if the lowest priority Pods are protected by ​​PodDisruptionBudget​​.

      The only component that considers both QoS and Pod priority is ​​Kubelet out-of-resource eviction​​​. The kubelet ranks Pods for eviction first by whether or not their usage of the starved resource exceeds requests, then by Priority, and then by the consumption of the starved compute resource relative to the Pods’ scheduling requests. See ​​Evicting end-user pods​​ for more details. Kubelet out-of-resource eviction does not evict Pods whose usage does not exceed their requests. If a Pod with lower priority is not exceeding its requests, it won’t be evicted. Another Pod with higher priority that exceeds its requests may be evicted.

      版权声明:本文内容来自第三方投稿或授权转载,原文地址:https://blog.51cto.com/liuyunshengsir/5999045,作者:liuyunshengsir,版权归原作者所有。本网站转在其作品的目的在于传递更多信息,不拥有版权,亦不承担相应法律责任。如因作品内容、版权等问题需要同本网站联系,请发邮件至ctyunbbs@chinatelecom.cn沟通。

      上一篇:JAVA 操作HDFS的工具类

      下一篇:useEffect的使用

      相关文章

      2025-05-06 09:19:21

      【Linux 从基础到进阶】Kubernetes 集群搭建与管理

      Kubernetes(简称 K8s)是一个用于自动化部署、扩展和管理容器化应用程序的开源平台。它提供了容器编排功能,能够管理大量的容器实例,并支持应用的自动扩展、高可用性和自愈能力。

      2025-05-06 09:19:21
      Kubernetes , Pod , 容器 , 节点 , 集群
      2025-04-16 09:26:39

      创建prometheus的statsfulset配置

      创建prometheus的statsfulset配置

      2025-04-16 09:26:39
      Pod , prometheus , 容器 , 设置
      2025-04-16 09:26:27

      创建监控控制平面的service

      Kubernetes Service定义了这样一种抽象: Service是一种可以访问 Pod逻辑分组的策略, Service通常是通过 Label Selector访问 Pod组。

      2025-04-16 09:26:27
      k8s , Pod , service , Service , 类型
      2025-03-18 09:59:07

      Java与容器化:如何使用Docker和Kubernetes优化Java应用的部署

      Java与容器化:如何使用Docker和Kubernetes优化Java应用的部署

      2025-03-18 09:59:07
      Docker , Java , Kubernetes , Pod , 容器 , 应用 , 部署
      2025-01-14 09:17:11

      K8S内JAVA服务接入skywalking

      在传统java业务中,接入skywalking只需要加入skywalking的jar包,然后修改java程序的启动参数即可,但是在k8s环境下,为了完成相同的功能,虽然操作不同,但是基本思路也是一样的。

      2025-01-14 09:17:11
      jar , Pod , 初始化 , 启动 , 容器
      2024-12-19 08:44:01

      Kubernetes 存储卷与持久化存储

      在 Kubernetes 中,存储卷(Volumes)被用于在容器间共享或存储数据。Pod 中的容器可以通过存储卷来访问这些数据,而不需要将数据持久化到容器的文件系统中,这样即便容器被删除或重启,数据也能保留。

      2024-12-19 08:44:01
      Kubernetes , Pod , PVC , 存储 , 模式 , 访问
      2024-12-19 08:43:17

      探索Kubernetes Pod的自动扩展与Horizontal Pod Autoscaler

      在云原生学习旅程的第26天,我们深入探讨了Kubernetes中一个至关重要的特性——Horizontal Pod Autoscaler(HPA)。HPA是Kubernetes中用于自动扩展Pod数量的控制器,它根据预设的度量指标(如CPU使用率)动态地调整Pod副本的数量,以确保应用能够高效地利用资源并应对负载变化。

      2024-12-19 08:43:17
      CPU , Kubernetes , Pod , 副本
      2024-12-17 08:21:45

      云原生学习笔记 - 深入理解Kubernetes(K8s)核心概念

      Pod是Kubernetes中最小的可部署的计算单元

      2024-12-17 08:21:45
      kubectl , Kubernetes , Pod , YAML , 定义 , 应用 , 资源
      2024-12-17 08:21:45

      Kubernetes 进阶与实战

      CRDs 允许用户扩展 Kubernetes API,定义新的资源类型。这对于需要管理非标准资源(如数据库实例、CI/CD 管道等)的场景非常有用。 通过定义 CRD,可以创建、读取、更新和删除这些自定义资源,就像操作 Kubernetes 内置资源一样。

      2024-12-17 08:21:45
      Kubernetes , Pod , Web , 应用 , 数据库
      2024-12-17 08:21:45

      云原生学习笔记 - 云原生技术栈

      云原生是一种软件开发和部署的方法论,旨在利用云计算和现代化的技术来构建可靠、可扩展和可管理的应用程序。云原生应用程序通常采用微服务架构,将应用程序拆分为多个小型、独立部署的服务,每个服务都专注于特定的业务功能,并可以独立开发、部署和扩展。

      2024-12-17 08:21:45
      API , Pod , 原生 , 容器 , 应用程序 , 服务 , 部署
      查看更多
      推荐标签

      作者介绍

      天翼云小翼
      天翼云用户

      文章

      33561

      阅读量

      5254633

      查看更多

      最新文章

      【Linux 从基础到进阶】Kubernetes 集群搭建与管理

      2025-05-06 09:19:21

      创建监控控制平面的service

      2025-04-16 09:26:27

      K8S内JAVA服务接入skywalking

      2025-01-14 09:17:11

      探索Kubernetes Pod的自动扩展与Horizontal Pod Autoscaler

      2024-12-19 08:43:17

      云原生学习笔记 - 深入理解Kubernetes(K8s)核心概念

      2024-12-17 08:21:45

      【Kubernets】Job和CronJob的使用

      2024-12-17 08:21:00

      查看更多

      热门文章

      K8s强制删除Pod

      2023-06-01 06:41:18

      Kubernetes----Pod生命周期简介

      2023-05-06 09:04:21

      创建和管理多个Pod--Deployment

      2023-05-06 08:59:36

      Kubernetes----Pod中的钩子函数

      2023-05-06 09:04:21

      Kubernetes----Pod定向调度

      2023-04-24 11:29:24

      Kubernetes----Pod控制器简介

      2023-04-24 11:29:00

      查看更多

      热门标签

      linux java python javascript 数组 前端 docker Linux vue 函数 shell git 节点 容器 示例
      查看更多

      相关产品

      弹性云主机

      随时自助获取、弹性伸缩的云服务器资源

      天翼云电脑(公众版)

      便捷、安全、高效的云电脑服务

      对象存储

      高品质、低成本的云上存储服务

      云硬盘

      为云上计算资源提供持久性块存储

      查看更多

      随机文章

      【Kubernets】kubernets整体技术架构

      Kubernetes----Pod生命周期简介

      Kubernetes集群中Pod间文件拷贝

      Pod和容器基本概念

      Kubernetes中的Pod管理与调度策略

      云原生学习笔记 - 深入理解Kubernetes(K8s)核心概念

      • 7*24小时售后
      • 无忧退款
      • 免费备案
      • 专家服务
      售前咨询热线
      400-810-9889转1
      关注天翼云
      • 旗舰店
      • 天翼云APP
      • 天翼云微信公众号
      服务与支持
      • 备案中心
      • 售前咨询
      • 智能客服
      • 自助服务
      • 工单管理
      • 客户公告
      • 涉诈举报
      账户管理
      • 管理中心
      • 订单管理
      • 余额管理
      • 发票管理
      • 充值汇款
      • 续费管理
      快速入口
      • 天翼云旗舰店
      • 文档中心
      • 最新活动
      • 免费试用
      • 信任中心
      • 天翼云学堂
      云网生态
      • 甄选商城
      • 渠道合作
      • 云市场合作
      了解天翼云
      • 关于天翼云
      • 天翼云APP
      • 服务案例
      • 新闻资讯
      • 联系我们
      热门产品
      • 云电脑
      • 弹性云主机
      • 云电脑政企版
      • 天翼云手机
      • 云数据库
      • 对象存储
      • 云硬盘
      • Web应用防火墙
      • 服务器安全卫士
      • CDN加速
      热门推荐
      • 云服务备份
      • 边缘安全加速平台
      • 全站加速
      • 安全加速
      • 云服务器
      • 云主机
      • 智能边缘云
      • 应用编排服务
      • 微服务引擎
      • 共享流量包
      更多推荐
      • web应用防火墙
      • 密钥管理
      • 等保咨询
      • 安全专区
      • 应用运维管理
      • 云日志服务
      • 文档数据库服务
      • 云搜索服务
      • 数据湖探索
      • 数据仓库服务
      友情链接
      • 中国电信集团
      • 189邮箱
      • 天翼企业云盘
      • 天翼云盘
      ©2025 天翼云科技有限公司版权所有 增值电信业务经营许可证A2.B1.B2-20090001
      公司地址:北京市东城区青龙胡同甲1号、3号2幢2层205-32室
      • 用户协议
      • 隐私政策
      • 个人信息保护
      • 法律声明
      备案 京公网安备11010802043424号 京ICP备 2021034386号