Back to prev

Some Reading And Work Of Week 2303

Jan 22, 2023
Linkang Chan
@Jesse Chan

GitOps

文章出处:What’s in a name? Moving GitOps beyond buzzword

according to its own definition, involves the building and running of “scalable applications in modern, dynamic environments such as public, private, and hybrid cloud” that are exemplified by “containers, service meshes, microservices, immutable infrastructure, and declarative APIs.

从原始的定义上看,云原生技术有利于各组织在公有云、私有云和混合云等新型动态环境中,构建和运行可弹性扩展的应用。云原生的代表技术包括容器、服务网格、微服务、不可变基础设施和声明式API。

GitOps is a set of principles for operating and managing software systems. These principles are derived from modern software operations, but are also rooted in pre-existing and widely adopted best practices.

GitOps 的期望状态:

  1. Declarative: A system managed by GitOps must have its desired state expressed declaratively.
  2. Versioned and Immutable: Desired state is stored in a way that enforces immutability, versioning and retains a complete version history.
  3. Pulled Automatically: Software agents automatically pull the desired state declarations from the source.
  4. Continuously Reconciled: Software agents continuously observe actual system state and attempt to apply the desired state.