nodeportproxy

package
v2.21.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package nodeportproxy is responsible for reconciling a seed-cluster-wide proxy based on Envoy and a custom envoy-manager/lb-updater tools. They monitor Cluster resources and allocate a port on a shared LoadBalancer service to access the user cluster's control plane.

Note that there is also pkg/resources/nodeportproxy/, which is a special, per-Cluster nodeport-proxy. The package are similar, but not similar enough to merge them together.

Index

Constants

View Source
const (
	ServiceAccountName    = "nodeport-proxy"
	EnvoyDeploymentName   = "nodeport-proxy-envoy"
	UpdaterDeploymentName = "nodeport-proxy-updater"
	EnvoyPort             = 8002
	EnvoySNIPort          = 6443
	EnvoyTunnelingPort    = 8088
)
View Source
const (
	RoleName        = "nodeport-proxy"
	RoleBindingName = "nodeport-proxy"
)
View Source
const (
	// ServiceName is the name for the created service object.
	ServiceName = "nodeport-proxy"
)

Variables

This section is empty.

Functions

func ClusterRoleBindingName

func ClusterRoleBindingName(cfg *kubermaticv1.KubermaticConfiguration) string

func EnvoyDeploymentCreator

func EnvoyDeploymentCreator(cfg *kubermaticv1.KubermaticConfiguration, seed *kubermaticv1.Seed, supportsFailureDomainZoneAntiAffinity bool, versions kubermatic.Versions) reconciling.NamedDeploymentCreatorGetter

func HostnameAntiAffinity added in v2.18.4

func HostnameAntiAffinity(app string) *corev1.Affinity

func ServiceCreator

ServiceCreator bootstraps the nodeport-proxy service object for a seed cluster resource.

Types

This section is empty.

Jump to

Keyboard shortcuts

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