The puppetlabs/kubernetes module installs and configures Kubernetes. You need to install docker to use this module, which will be primarily used in setting up and configuring the essential things needed to manage a kubernetes cluster.
The Setup of this module includes, Installation of module, generating the configuration, adding the OS and hostname yaml files to Hiera and configuring the node,
Included in this module is Kubetool, 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.
In the second step ie, generating the module configuration,docker is used . So if docker is not installed on your workstation, you will need to install it.