Documentation for version v0.62.x is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
Applications
Overview ¶
kapp considers a set of resources with the same label as an application. These resources could span any number of namespaces or could be cluster-wide (e.g. CRDs).
kapp has two methods of finding resources:
- via unique-to-Namespace application name (via
-a my-name
flag), or - via user provided label (via
-a label:my-label=val
flag)
First approach is most common as kapp generates a unique label for each tracked application and associates that with an application name.
List ¶
Applications can be listed via ls
command:
$ kapp ls
Deploy ¶
To create or update an application use deploy
command:
$ kapp deploy -a my-name -f my-app-config/
Deploy command consists of two stages: resource “diff” stage, and resource “apply” stage.
Delete ¶
To delete an application use delete
command:
$ kapp delete -a my-name
(Help improve our docs: edit this page on GitHub)