Puppet Kubernetes Credential Configuration during set up

0 votes
How do I specify/configure the credentials during the initial installation and setup of the garethr-kubernetes module?
Aug 22, 2019 in Puppet by Sirajul
• 59,070 points

1 answer to this question.

0 votes

You can provide the required information in a standard kubectl configuration file. 

Store this as kubernetes.conf in the relevant confdir. This should be:

  • nix Systems: /etc/puppetlabs/puppet

  • Windows: C:\ProgramData\PuppetLabs\puppet\etc

  • non-root users: ~/.puppetlabs/etc/puppet

If you have a working kubectl setup you can export the file using the following command:

kubectl config view --raw=true

Finally install the module with:

puppet module install garethr-kubernetes
answered Aug 22, 2019 by Amy

Related Questions In Puppet

0 votes
1 answer

Puppet+Kubernetes: Setting up the environment to use kubernetes in puppet

As you have already installed the module, ...READ MORE

answered Aug 21, 2019 in Puppet by Sirajul
• 59,070 points
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer

How is puppet used as a Configuration Management tool?

System Administrators usually perform repetitive tasks such ...READ MORE

answered Mar 4, 2019 in Puppet by Saurab
+1 vote
1 answer
0 votes
3 answers

Error while joining cluster with node

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

answered Jan 17, 2019 in Others by anonymous
+4 votes
1 answer

Installing Web UI (Dashboard):kubernetes-dashboard on main Ubuntu 16.04.6 LTS (Xenial Xerus) server

Follow these steps: $ kubeadm reset $ kubeadm init ...READ MORE

answered Apr 11, 2019 in Kubernetes by Kalgi
• 52,350 points

reshown Apr 12, 2019 by Kalgi 3,298 views
0 votes
0 answers

How do i set up docker with puppet?

I want to use puppetlabs/docker module in ...READ MORE

Aug 13, 2019 in Puppet by Karan
• 19,610 points
0 votes
1 answer

Sign certificates while setting up puppet on Ubuntu

Hey @Adi, On your puppet master execute ...READ MORE

answered Feb 21, 2019 in Puppet by Jobin