自动化 Kubernetes 配置编辑
kpt is a package-centric toolchain that enables a WYSIWYG configuration authoring, automation, and delivery experience, which simplifies managing Kubernetes platforms and KRM-driven infrastructure (e.g., Config Connector, Crossplane) at scale by manipulating declarative Configuration as Data.
Configuration as Data is an approach to management of configuration which:
See the FAQ for more details about how kpt is different from alternatives.
Use our public Dosu space to ask anything about kpt.
kpt enables WYSIWYG editing and interoperable automation applied to declarative configuration data, similar to how the live state can be modified with imperative tools.
See the rationale for more background.
The best place to get started and learn about specific features of kpt is to visit the kpt website.
kpt installation instructions can be found on kpt.dev/installation/kpt-cli
The kpt toolchain includes the following components:
kpt API (github.com/kptdev/kpt/api): A separately versioned Go module with type definitions and
utilities for kpt schemas, including Kptfile, ResourceGroup, and function result types. Use it when building
tools that read or write kpt package metadata without depending on the full CLI.
kpt CLI: The kpt CLI supports package and function operations, and also deployment, via either direct apply or GitOps. By keeping an inventory of deployed resources, kpt enables resource pruning, aggregated status and observability, and an improved preview experience.
Function SDK: Any general-purpose or domain-specific language can be used to create functions to transform and/or validate the YAML KRM input/output format, but we provide SDKs to simplify the function authoring process in Go.
Function catalog: A catalog of off-the-shelf, tested functions. kpt makes configuration easy to create and transform, via reusable functions. Because they are expected to be used for in-place transformation, the functions need to be idempotent.
kpt follows the kpt project versioning guidelines. The CLI and API module are released independently; see release/README.md for release surfaces and tagging details.
You can follow the kpt roadmap in the related GitHub Project.
If you are interested in contributing please start with contribution guidelines.
We would love to keep in touch:
Code is under the Apache License 2.0, documentation is CC BY 4.0.
The governance of the kpt project and KRM Functiona Catalog are described in the governance repo.
The kpt project and the KRM Functions Catalog are following the CNCF Code of Conduct. More information and links about the CNCF Code of Conduct are here.
The kpt project including the KRM Functions Catalog is a CNCF Sandbox project.
暂无开放 Issues,或尚未同步最近议题。