A Catalog of Kpt Packages and Blueprints
A Kpt package is a collection of Kubernetes resources that are managed together as a unit. A package can be a single Kubernetes resource, or a collection of resources such as a Deployment, Service, and ConfigMap. A package can also be a collection of other packages.
The packages in this repo can be used alone or as part of a larger application. They can be used to create a new application, or to add functionality to an existing application. To learn more about packages, see the Kpt Packages Overview.
You can install a package by running kpt pkg get https://github.com/broadinstitute/kpt-packages/grafana --for-deployment
You can then update the package inputs to set the package parameters. Running kpt fn render grafana
will render the package with the updated inputs.
To use a package, you can run kpt pkg get <package-path> --for-deployment
. This will download the package to your local machine and set it up for deployment. You can then run kpt fn render <package-name>
to render the package with the default inputs.
example:
kpt pkg get https://github.com/broadinstitute/kpt-packages/gcp-load-balancer/@v0
To update an installed package to a new version, run kpt pkg update <package-path>
. This will update the package to the version in the upstream repo.