github.com/GoogleContainerTools/skaffold/v2@v2.13.2/docs-v2/content/en/docs/deployers/kpt.md (about)

     1  ---
     2  title: "Kpt [UPDATED]"
     3  linkTitle: "Kpt [UPDATED]"
     4  weight: 30
     5  featureId: deploy
     6  aliases: [/docs/pipeline-stages/deployers/kpt]
     7  ---
     8  
     9  ## Rendering with kpt
    10  
    11  [`kpt`](https://kpt.dev/) allows Kubernetes
    12  developers to customize raw, template-free YAML files for multiple purposes.
    13  Skaffold can work with `kpt` by calling its command-line interface.
    14  
    15  ### Configuration
    16  
    17  To use kpt with Skaffold, add deploy type `kpt` to the `deploy`
    18  section of `skaffold.yaml`.
    19  
    20  The `kpt` type offers the following options:
    21  
    22  {{< schema root="KptDeploy" >}}
    23  
    24  Each entry in `paths` should point to a folder with a kustomization file.
    25  
    26  `flags` section offers the following options:
    27  
    28  {{< schema root="KubectlFlags" >}}
    29  
    30  ### Example
    31  
    32  The following `deploy` section instructs Skaffold to deploy
    33  artifacts using kpt:
    34  
    35  {{% readfile file="samples/deployers/kpt.yaml" %}}
    36  
    37  {{< alert title="Note" >}}
    38  kpt CLI must be installed on your machine. Skaffold will not
    39  install it.
    40  {{< /alert >}}