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
- func ClusterRoleBindingCreator(cfg *kubermaticv1.KubermaticConfiguration) reconciling.NamedClusterRoleBindingCreatorGetter
- func ClusterRoleBindingName(cfg *kubermaticv1.KubermaticConfiguration) string
- func ClusterRoleCreator(cfg *kubermaticv1.KubermaticConfiguration) reconciling.NamedClusterRoleCreatorGetter
- func ClusterRoleName(cfg *kubermaticv1.KubermaticConfiguration) string
- func EnvoyDeploymentCreator(cfg *kubermaticv1.KubermaticConfiguration, seed *kubermaticv1.Seed, ...) reconciling.NamedDeploymentCreatorGetter
- func EnvoyPDBCreator() reconciling.NamedPodDisruptionBudgetCreatorGetter
- func HostnameAntiAffinity(app string) *corev1.Affinity
- func RoleBindingCreator(cfg *kubermaticv1.KubermaticConfiguration) reconciling.NamedRoleBindingCreatorGetter
- func RoleCreator() reconciling.NamedRoleCreatorGetter
- func ServiceAccountCreator(cfg *kubermaticv1.KubermaticConfiguration) reconciling.NamedServiceAccountCreatorGetter
- func ServiceCreator(seed *kubermaticv1.Seed) reconciling.NamedServiceCreatorGetter
- func UpdaterDeploymentCreator(cfg *kubermaticv1.KubermaticConfiguration, seed *kubermaticv1.Seed, ...) reconciling.NamedDeploymentCreatorGetter
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 ClusterRoleBindingCreator ¶
func ClusterRoleBindingCreator(cfg *kubermaticv1.KubermaticConfiguration) reconciling.NamedClusterRoleBindingCreatorGetter
func ClusterRoleBindingName ¶
func ClusterRoleBindingName(cfg *kubermaticv1.KubermaticConfiguration) string
func ClusterRoleCreator ¶
func ClusterRoleCreator(cfg *kubermaticv1.KubermaticConfiguration) reconciling.NamedClusterRoleCreatorGetter
func ClusterRoleName ¶
func ClusterRoleName(cfg *kubermaticv1.KubermaticConfiguration) string
func EnvoyDeploymentCreator ¶
func EnvoyDeploymentCreator(cfg *kubermaticv1.KubermaticConfiguration, seed *kubermaticv1.Seed, supportsFailureDomainZoneAntiAffinity bool, versions kubermatic.Versions) reconciling.NamedDeploymentCreatorGetter
func EnvoyPDBCreator ¶
func EnvoyPDBCreator() reconciling.NamedPodDisruptionBudgetCreatorGetter
func HostnameAntiAffinity ¶ added in v2.18.4
func RoleBindingCreator ¶
func RoleBindingCreator(cfg *kubermaticv1.KubermaticConfiguration) reconciling.NamedRoleBindingCreatorGetter
func RoleCreator ¶
func RoleCreator() reconciling.NamedRoleCreatorGetter
func ServiceAccountCreator ¶
func ServiceAccountCreator(cfg *kubermaticv1.KubermaticConfiguration) reconciling.NamedServiceAccountCreatorGetter
func ServiceCreator ¶
func ServiceCreator(seed *kubermaticv1.Seed) reconciling.NamedServiceCreatorGetter
ServiceCreator bootstraps the nodeport-proxy service object for a seed cluster resource.
func UpdaterDeploymentCreator ¶
func UpdaterDeploymentCreator(cfg *kubermaticv1.KubermaticConfiguration, seed *kubermaticv1.Seed, versions kubermatic.Versions) reconciling.NamedDeploymentCreatorGetter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.