Skip to content
Branch: master
Find file Copy path
Find file Copy path
@cppforlife cppforlife init 08fa5a0 Mar 15, 2019
1 contributor

Users who have contributed to this file

13 lines (8 sloc) 617 Bytes

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 continiously (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 app1, app2 and app3). It will also remove old applications if subdirectories are deleted.

You can’t perform that action at this time.