Puppet+Kubernetes: How do I use kubetool and what is it's significance in using kubernetes with puppet?

0 votes
Aug 21, 2019 in Puppet by Kim
55 views

1 answer to this question.

0 votes

The module puppetlabs/kubernetes has Kubetool, which is a configuration tool that auto-generates the Hiera security parameters, the discovery token hash, and other configurations for your Kubernetes cluster. 

To simplify installation and use, the tool is available as a Docker image.

Kubetool plays an important role in generating the module configuration.

Kubetool creates:

  • A yaml file that corresponds to the operating system specified by the OS parameter. To view the file contents, run cat Debian.yaml for a Debian system, or run cat RedHat.yaml for RedHat. The yaml files produced for each member of the etcd cluster contain certificate information to bootstrap an initial etcd cluster. Ensure these are also placed in your hieradata directory at the node level.

  • A discovery token hash and encoded values required by Kubernetes. To regenerate the values, including certificates and tokens, run the kubetool command.

answered Aug 21, 2019 by Sirajul
• 46,080 points

Related Questions In Puppet

0 votes
1 answer

How do I install factor and puppet using Ruby Gem?

Hey @Kiara, execute these commands to install ...READ MORE

answered Mar 8, 2019 in Puppet by Yogesh
98 views
0 votes
1 answer

How do I enable puppet collection repository in puppet if I am using Puppet 6.7?

In Puppet6.7 you have to enable Puppet ...READ MORE

answered Jul 31, 2019 in Puppet by Sirajul
• 46,080 points
61 views
0 votes
1 answer

Docker with Puppet: How do i run the following command "docker build -t ubuntu /tmp/ubuntu_image" using puppet code?

 Hey @Liana, Including the docker_dir parameter is equivalent to ...READ MORE

answered Aug 16, 2019 in Puppet by Sirajul
• 46,080 points
45 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, 2019 in Others by anonymous
4,373 views
+3 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
• 51,160 points

reshown Apr 12, 2019 by Kalgi 1,177 views
0 votes
1 answer

What is PSON in puppet and how is it different from JSON?

PSON is a variant of JSON which ...READ MORE

answered Jul 24, 2019 in Puppet by Sirajul
• 46,080 points
607 views
0 votes
1 answer

What is Hiera in puppet and what does it do?

Hiera is a built-in key-value configuration data lookup ...READ MORE

answered Jul 25, 2019 in Puppet by Sirajul
• 46,080 points
720 views