Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.


Get Started Now!

Kapitan Tutorial: How to install Kapitan?


Install Kapitan in Ubuntu


$ sudo apt-get update && sudo apt-get install -y python3.8-dev python3-pip python3-yaml
$ pip3 install --user --upgrade kapitan

# kapitan will be installed in $HOME/.local/lib/python3.7/bin

#not recommended

$ sudo pip3 install --upgrade kapitan

Install Kapitan using Docker Container


# Linux
$ alias kapitan="docker run -t --rm -u $(id -u) -v $(pwd):/src:delegated kapicorp/kapitan"
$ kapitan -h

# Mac
$ alias kapitan="docker run -t --rm -v $(pwd):/src:delegated kapicorp/kapitan"
$ kapitan -h

Create Kapitan Project from Scratch


If you want to start off with a clean kapitan project, you can run kapitan init --directory <directory> to populate a new directory with the recommended kapitan folder structure.

The bare minimum structure that makes use of kapitan features may look as follows:

$ kapitan init –directory <directory>

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x