A docker image with tools for Kubernetes, Helm and Docker DevOps.
- Docker for Mac
- Python 3.x
- Python requirements
- Get KDK script
git clone [email protected]:cisco-sso/kdk.git
cd kdk
# In the future, the kdk will be a golang binary installed like this:
# curl -so kdk https://raw.githubusercontent.com/cisco-sso/dockerized-k8s-devkit/master/kdk && chmod +x kdk
- Install Pre-Reqs
virtualenv -p python3 .venv
source .venv/bin/activate
pip install -r requirements.txt
- Initilize KDK Configurations
The follow command generates a default working ~/.kdk/config.yaml
configuration file
./kdk init
- Customize the Configuration
Customize ~/.kdk/config.yaml
to fit your needs. Most people should add the
following to the volumes
section.
volumes:
/Users/<USERNAME>/<FROM_HOST_FOLDER>:
bind: /home/<USERNAME>/<TO_GUEST_FOLDER>:
mode: rw
"/Volumes/Keybase (<YOUR_KEYBASE_ID>)/":
bind: /keybase
mode: rw
- Start KDK container
./kdk up
- Exec to KDK container
./kdk ssh
- NOTE: The
launch-kdk
script uses a set of opinionated dotfiles by default - Fork this repo, make changes, and update
launch-kdk
script accordingly to point to your customized fork.