The Kubernetes module uses the kubeclient library to communicate with the Kubernetes API. So first we’ll need to install that.
This will vary a little depending on how you installed Puppet, but for the latest version of puppet-agent you should run:
/opt/puppetlabs/puppet/bin/gem install kubeclient --no-ri --no-rdoc
With that installed we can install the module itself:
puppet module install garethr-kubernetes
This was to be installed manually while installing the garethr-kubernetes module but since this module is now updated to puppetlabs/kubernetes module, there is no need for explicit manual installation.