Skip to content

SimonHoenscheid/puppet-k8s

 
 

Repository files navigation

k8s

Table of Contents


Description

This module installs, configures, and manages a Kubernetes cluster built from loose components.

The main focus is towards the current stable versions of K8s (1.18.x+), but it should be able to handle both older and newer versions without issues.

Usage

Setting up a server node (apiserver, controller-manager, scheduler);

class { 'k8s':
  role               => 'server',
  master             => 'https://kubernetes.example.com:6443',
# generate_ca        => true, # Only set true temporarily to avoid overwriting the old secrets
# puppetdb_discovery => true, # Will use PuppetDB PQL queries to manage etcd and nodes
}

Setting up a client node (kubelet, kube-proxy);

class { 'k8s':
  role   => 'node',
  master => 'https://kubernetes.example.com:6443',
}

Reference

All parameters are documented within the classes. Markdown documentation is available in the REFERENCE.md file, it also contains examples.

About

Temporary home for the K8s Puppet module

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Puppet 50.6%
  • Ruby 48.6%
  • Other 0.8%