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 ClusterRoleBindingName(cfg *kubermaticv1.KubermaticConfiguration) string
- func ClusterRoleBindingReconciler(cfg *kubermaticv1.KubermaticConfiguration) reconciling.NamedClusterRoleBindingReconcilerFactory
- func ClusterRoleName(cfg *kubermaticv1.KubermaticConfiguration) string
- func ClusterRoleReconciler(cfg *kubermaticv1.KubermaticConfiguration) reconciling.NamedClusterRoleReconcilerFactory
- func EnvoyDeploymentReconciler(cfg *kubermaticv1.KubermaticConfiguration, seed *kubermaticv1.Seed, ...) reconciling.NamedDeploymentReconcilerFactory
- func EnvoyPDBReconciler() reconciling.NamedPodDisruptionBudgetReconcilerFactory
- func RoleBindingReconciler(cfg *kubermaticv1.KubermaticConfiguration) reconciling.NamedRoleBindingReconcilerFactory
- func RoleReconciler() reconciling.NamedRoleReconcilerFactory
- func ServiceAccountReconciler(cfg *kubermaticv1.KubermaticConfiguration) reconciling.NamedServiceAccountReconcilerFactory
- func ServiceReconciler(seed *kubermaticv1.Seed) reconciling.NamedServiceReconcilerFactory
- func UpdaterDeploymentReconciler(cfg *kubermaticv1.KubermaticConfiguration, seed *kubermaticv1.Seed, ...) reconciling.NamedDeploymentReconcilerFactory
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 ClusterRoleBindingReconciler ¶ added in v2.22.0
func ClusterRoleBindingReconciler(cfg *kubermaticv1.KubermaticConfiguration) reconciling.NamedClusterRoleBindingReconcilerFactory
func ClusterRoleName ¶
func ClusterRoleName(cfg *kubermaticv1.KubermaticConfiguration) string
func ClusterRoleReconciler ¶ added in v2.22.0
func ClusterRoleReconciler(cfg *kubermaticv1.KubermaticConfiguration) reconciling.NamedClusterRoleReconcilerFactory
func EnvoyDeploymentReconciler ¶ added in v2.22.0
func EnvoyDeploymentReconciler(cfg *kubermaticv1.KubermaticConfiguration, seed *kubermaticv1.Seed, supportsFailureDomainZoneAntiAffinity bool, versions kubermatic.Versions) reconciling.NamedDeploymentReconcilerFactory
func EnvoyPDBReconciler ¶ added in v2.22.0
func EnvoyPDBReconciler() reconciling.NamedPodDisruptionBudgetReconcilerFactory
func RoleBindingReconciler ¶ added in v2.22.0
func RoleBindingReconciler(cfg *kubermaticv1.KubermaticConfiguration) reconciling.NamedRoleBindingReconcilerFactory
func RoleReconciler ¶ added in v2.22.0
func RoleReconciler() reconciling.NamedRoleReconcilerFactory
func ServiceAccountReconciler ¶ added in v2.22.0
func ServiceAccountReconciler(cfg *kubermaticv1.KubermaticConfiguration) reconciling.NamedServiceAccountReconcilerFactory
func ServiceReconciler ¶ added in v2.22.0
func ServiceReconciler(seed *kubermaticv1.Seed) reconciling.NamedServiceReconcilerFactory
ServiceReconciler bootstraps the nodeport-proxy service object for a seed cluster resource.
func UpdaterDeploymentReconciler ¶ added in v2.22.0
func UpdaterDeploymentReconciler(cfg *kubermaticv1.KubermaticConfiguration, seed *kubermaticv1.Seed, versions kubermatic.Versions) reconciling.NamedDeploymentReconcilerFactory
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.