Forge Home

k3s

Install k3s, an open-source lightweight kubernetes.

2,305 downloads

1,216 latest version

5.0 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.1.0 (latest)
  • 1.0.1
  • 1.0.0
released Dec 10th 2020
This version is compatible with:
  • Puppet Enterprise 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2016.4.x
  • Puppet >= 4.10.0 < 7.0.0
  • , , , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'igorolivei-k3s', '1.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add igorolivei-k3s
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install igorolivei-k3s --version 1.1.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

igorolivei/k3s — version 1.1.0 Dec 10th 2020

k3s

Welcome to k3s module. This module installs the Rancher's lightweight Kubernetes, k3s (see more on https://k3s.io/).

Table of Contents

  1. Description
  2. Setup - The basics of getting started with k3s
  3. Usage - Configuration options and additional functionality
  4. Development - Guide for contributing to the module

Description

This module installs the open source Rancher's lightweight Kubernetes, k3s.

Using this module, you can easily automate k3s installation in many machines, like in a School Lab or in a Raspberry Pi cluster.

Setup

Beginning with k3s

Install this module using Puppet: puppet module install igorolivei/k3s

Or via Puppetfile: mod 'igorolivei-k3s', '1.0.0'

Usage

  • Quick run: puppet apply -e "include k3s"

  • Installing using the script installation mode:

class { 'k3s':
  installation_mode => 'script',
}
  • Installing using the binary installation mode:
class { 'k3s':
  installation_mode => 'binary',
}
  • Ensuring that it is uninstalled:
class { 'k3s':
  ensure            => 'absent',
  installation_mode => 'binary',
}

Development

Contributing

  • Create a topic branch from where you want to base your work. This is usually the master branch.
  • Push your changes to a topic branch in your fork of the repository.
  • Add yourself as a contributor in the Contributors sections of this file.
  • Make sure your commits messages are describing what has changed.
  • Make sure you have tested your changes and nothing breaks.
  • Validate your module using pdk validate.
  • Submit a pull request to this repository.

Release Notes/Contributors/Etc.