Documentation for version v0.50.0 is no longer actively maintained. The version you are currently viewing is a static snapshot. For up-to-date documentation, see the latest version.
Using kapp with GitOps workflow ¶
kapp provides a set of commands to make GitOps workflow very easy. Assuming that you have a CI environment or some other place where
kapp can run based on a trigger (e.g. for every Git repo change) or continuously (e.g. every 5 mins), you can use following command:
$ ls my-repo . .. app1/ app2/ app3/ $ kapp app-group deploy -g my-env --directory my-repo
Above command will deploy an application for each subdirectory in
my-repo directory (in this case
app3). It will also remove old applications if subdirectories are deleted.