Puppet+Kubernetes: KREAM Installation and usage.

0 votes

While exploring integrations of kubernetes with puppet, I happened to discover that I could use "KREAM" to validate the kubernetes module instead of Puppet development kit (PDK).

Is it really on par with PDK, what exactly is its usage and how do I go about the installation process?

Aug 22 in Puppet by Karan
• 2,080 points
15 views

1 answer to this question.

0 votes

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 https://brew.sh/ 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 

answered Aug 22 by Sirajul
• 26,100 points

Related Questions In Puppet

0 votes
1 answer

Puppet+Kubernetes : List and manage kubernetes resources in puppet

List resources: In addition to creating and managing ...READ MORE

answered Aug 22 in Puppet by Sirajul
• 26,100 points
12 views
0 votes
1 answer

Ram requirements for puppet installation

4 GB would be less for proper ...READ MORE

answered Dec 19, 2018 in Puppet by Alan
26 views
0 votes
1 answer
0 votes
1 answer

Errors and warnings while installing graphite server using puppet.

Hey @Harish, If you puppet modules is /etc/puppet/modules, ...READ MORE

answered Feb 14 in Puppet by Varshi
20 views
0 votes
1 answer
0 votes
3 answers

Error while joining cluster with node

Hi Kalgi after following above steps it ...READ MORE

answered Jan 17 in Others by anonymous
2,181 views
+3 votes
1 answer
0 votes
1 answer
0 votes
1 answer