metallb

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2021 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package metallb includes functionality for automating the configuration and deployment of MetalLB for integration tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeployMetallbForKindCluster

func DeployMetallbForKindCluster(kc *kubernetes.Clientset, kindClusterName, dockerNetwork string) error

DeployMetallbForKindCluster deploys Metallb to the given Kind cluster using the Docker network provided for LoadBalancer IPs.

func GetIPRangeForMetallb

func GetIPRangeForMetallb(network net.IPNet) (startIP, endIP net.IP)

GetIPRangeForMetallb provides a range of IP addresses to use for MetalLB given an IPv4 Network FIXME: just choosing specific default IPs for now, need to check range validity and dynamically assign IPs.

func GetMetallbYAMLCfg

func GetMetallbYAMLCfg(ipStart, ipEnd net.IP) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL