kind: sigs.k8s.io/kind/pkg/cluster/internal/loadbalancer Index | Files

package loadbalancer

import "sigs.k8s.io/kind/pkg/cluster/internal/loadbalancer"

Package loadbalancer contains external loadbalancer related constants and configuration

Index

Package Files

config.go const.go doc.go

Constants

const ConfigPath = "/usr/local/etc/haproxy/haproxy.cfg"

ConfigPath defines the path to the config file in the image

const DefaultConfigTemplate = "" /* 827 byte string literal not displayed */

DefaultConfigTemplate is the loadbalancer config template

const Image = "kindest/haproxy:v20200708-548e36db"

Image defines the loadbalancer image:tag

func Config Uses

func Config(data *ConfigData) (config string, err error)

Config returns a kubeadm config generated from config data, in particular the kubernetes version

type ConfigData Uses

type ConfigData struct {
    ControlPlanePort int
    BackendServers   map[string]string
    IPv6             bool
}

ConfigData is supplied to the loadbalancer config template

Package loadbalancer imports 3 packages (graph) and is imported by 3 packages. Updated 2020-07-28. Refresh now. Tools for package owners.