This is the documentation for version 0.39. For documentation on the latest version of kpt, please see


Bootstrap a package with content generated or published from another source.

Fetched from another package

Fetch another package and use it as your starting point (e.g. kubernetes-examples)

kpt pkg get helloworld

Generated from cli tools

Generate configuration from commandline tools (e.g. kubectl)

kubectl create deployment nginx --image nginx -o yaml --dry-run > deploy.yaml

Copied from examples or blog posts

Some examples may be published as blog posts without being published as a package in git. These can be copied directly from their source.

curl --output nginx/nginx-deployment.yaml

Generated from DSLs or templates

Generate configuration from templates (e.g. helm)

helm fetch stable/mysql
helm template mysql-1.3.1.tgz --output-dir .

Generated from code

Generate configuration from application source code (e.g. dekorate)

mvn clean package

Last modified March 18, 2020: Fix docsy hugo theme (b6557dc5)