KREAM (Kubernetes Rules Everything Around Me) - A development environment for the Puppet/kubernetes module.
After instaling the puppetlabs/kubernetes module,deploy the clusterand then you can test your configuration using Kream, a virtual environment created specifically for testing the Puppet Kubernetes module.
This lets you validate and test your configuration before deploying it to a live environment.
Kubernetes Development Environment:
Prerequisites:
- Vagrant
- Virtualbox v5.x
- Ruby v2.3.3
Install dependencies:
git clone to a new directory
gem install bundler
bundle install
If you're on a Mac you will need Homebrew Once brew is installed
brew install kubectl
On Linux
curl -LO https://storage.googleapis.com/kubernetes-release/release/v1.10.3/bin/linux/amd64/kubectl
chmod +x ./kubectl
sudo mv ./kubectl /usr/local/bin/kubectl
Note this will install version 1.10.3, if you want a different version change the version in the url.
For complete understanding of its installation and usage refer to: https://github.com/puppetlabs/kream