Kubernetes Operator Pattern

  1. The Operator pattern captures how you can write code to automate a task beyond what Kubernetes itself provides --- Operator模式捕获了如何编写代码以自动执行Kubernetes本身提供的功能以外的任务。
    Operator是CoreOS推出的旨在简化复杂有状态应用管理的框架,它是一个感知应用状态的控制器,通过扩展Kubernetes API来自动创建、管理和配置应用实例。

  2. 利用节点污点(taint),您可以标记节点,以使调度程序避免或阻止将其用于某些 Pod。补充功能“容忍toleration”可让您指定可在“有污点的”节点上使用的 Pod。

  3. You can use custom controllers to encode domain knowledge for specific applications into an extension of the Kubernetes API --- 您可以使用自定义控制器将特定应用程序的领域知识编码为Kubernetes API的扩展。

  4. Operator, combines a Controller with custom and domain-specific resources to encapsulate operational knowledge in an automated form. (操作员将控制器与自定义和特定于域的资源相结合,以自动形式封装操作知识。)

Referencecs

  1. 为什么Kubernetes Operator是游戏规则的改变者
  2. Best practices for building Kubernetes Operators and stateful apps
  3. KEDA Up Close: Kubernetes-based, Event-Driven Autoscaling

results matching ""

    No results matching ""