/puppet-cni

Puppet Kubernetes CNI module

Primary LanguageRubyApache License 2.0Apache-2.0

cni

Table of Contents

  1. Overview
  2. Description
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how

Overview

Installs and manages CNI software.

Description

This module is intended to support the selective installation of CNI reference plugins. It specifically in intended to co-exist with rke installing, managing, and upgrading its own set of CNI plugins into /opt/cni/bin. It is selective in that only explicitly enumerated CNI reference plugins are install as symlinks in /opt/cni/bin.

Usage

Plugin Install Example

class { 'cni::plugins':
  enable => [
    'macvlan',
    'ipvlan',
  ]
}

DHCP Service Example

class { 'cni::plugins::dhcp': }

Explicit Plugin Release Version Example

class { cni::plugins:
  version       => '0.9.0',
  checksum_type => 'sha256',
  checksum      => '58a58d389895ba9f9bbd3ef330f186c0bb7484136d0bfb9b50152eed55d9ec24',
}
class { 'cni::plugins::dhcp': }

Reference

See REFERENCE