Package Consumers

Guides for workflows related to consuming packages published by other teams or organizations.

Consumer workflow overview

  • Fetch a local copy of a remote package
  • Modify the local copy
    • Either using user-friendly editing commands
    • Or directly modifying the files with a text editor
  • (Optional) Push the local package to a project / team repo
  • (Optional) Automation makes last-mile changes before pushing
  • Automation pushes by applying to a cluster

Get a remote package

Fetch a package from a remote git repository and apply its contents to a cluster

Display local package contents

Display the contents of a local package using kpt cfg for rendering.

Set field values

Customize a local package by setting field values.

Substitute values into fields

Customize a local package by substituting values into fields.

Apply a local package

Apply the contents of a local package to a remote cluster.

Update a local package

Update a customized local package with upstream (remote) package changes.

Running Functions

Modify or validate the contents of a package by calling a function.

Consume a package with subpackages

Fetch a kpt package with subpackages from a remote git repository and apply its contents to a cluster

Last modified January 12, 2021: Minor spelling update (#1354) (43fc13ed)