A lightweight tool to facilitate config reuse, designed for GitOps, config as data, and composition with other tools and formats.https://twitter.com/GoogleOSS/status/1245026820979859464 …
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
One of the primary sets of capabilities that is required to enable configuration reuse is the ability to distribute/publish/share, compose, and update groups of configuration files, commonly known as packages.
git is the most common source of truth for declarative configuration files, and users are increasingly driving deployment workflows from changes in git, either with traditional CI/CD tools or dedicated GitOps tools. kpt facilitates declarative workflows directly around git.
The other main capability needed to enable reuse is the ability to customize configuration files for specific use cases. That’s where the most diverse preferences are evident. kpt supports generation, transformation, and validation functions written in any programming language.
kpt accomplishes this by representing configuration as data, specifically Kubernetes resources serialized as YAML or JSON. The configuration-as-data approach builds upon the design of the Kubernetes resource model (KRM): https://github.com/kubernetes/community/blob/master/contributors/design-proposals/architecture/resource-management.md …
It builds directly upon prior work in Kubernetes, such as https://github.com/kubernetes/community/blob/master/contributors/design-proposals/architecture/declarative-application-management.md …, bulk operations in kubectl (https://github.com/kubernetes/kubernetes/pull/1007/files …), apply (http://issues.k8s.io/1702 ), andhttps://github.com/kubernetes-sigs/kustomize …
Though it’s in its early stages, I hope that kpt will not only fill a gap in the existing tool landscape, but will also inspire more tools designed to interoperate with other configuration and deployment tools and workflows in the Kubernetes ecosystem.
kpt can compose tools and libraries together: https://googlecontainertools.github.io/kpt-functions-sdk/ …
Still browsing the docs, but can i apply a whole set of values with kpt set? Like feeding in a values file.
The model is still evolving. We wanted to open kpt early in order to get feedback. However, there are recurring patterns in templates that are largely the same for each resource type, so we should be able to reduce the burden on blueprint authors.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.