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 *operatorv1alpha1.KubermaticConfiguration) reconciling.NamedClusterRoleBindingCreatorGetter
- func ClusterRoleBindingName(cfg *operatorv1alpha1.KubermaticConfiguration) string
- func ClusterRoleCreator(cfg *operatorv1alpha1.KubermaticConfiguration) reconciling.NamedClusterRoleCreatorGetter
- func ClusterRoleName(cfg *operatorv1alpha1.KubermaticConfiguration) string
- func EnvoyDeploymentCreator(cfg *operatorv1alpha1.KubermaticConfiguration, seed *kubermaticv1.Seed, ...) reconciling.NamedDeploymentCreatorGetter
- func EnvoyPDBCreator() reconciling.NamedPodDisruptionBudgetCreatorGetter
- func RoleBindingCreator(cfg *operatorv1alpha1.KubermaticConfiguration) reconciling.NamedRoleBindingCreatorGetter
- func RoleCreator() reconciling.NamedRoleCreatorGetter
- func ServiceAccountCreator(cfg *operatorv1alpha1.KubermaticConfiguration) reconciling.NamedServiceAccountCreatorGetter
- func ServiceCreator(seed *kubermaticv1.Seed) reconciling.NamedServiceCreatorGetter
- func UpdaterDeploymentCreator(cfg *operatorv1alpha1.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 *operatorv1alpha1.KubermaticConfiguration) reconciling.NamedClusterRoleBindingCreatorGetter
func ClusterRoleBindingName ¶
func ClusterRoleBindingName(cfg *operatorv1alpha1.KubermaticConfiguration) string
func ClusterRoleCreator ¶
func ClusterRoleCreator(cfg *operatorv1alpha1.KubermaticConfiguration) reconciling.NamedClusterRoleCreatorGetter
func ClusterRoleName ¶
func ClusterRoleName(cfg *operatorv1alpha1.KubermaticConfiguration) string
func EnvoyDeploymentCreator ¶
func EnvoyDeploymentCreator(cfg *operatorv1alpha1.KubermaticConfiguration, seed *kubermaticv1.Seed, versions kubermatic.Versions) reconciling.NamedDeploymentCreatorGetter
func EnvoyPDBCreator ¶
func EnvoyPDBCreator() reconciling.NamedPodDisruptionBudgetCreatorGetter
func RoleBindingCreator ¶
func RoleBindingCreator(cfg *operatorv1alpha1.KubermaticConfiguration) reconciling.NamedRoleBindingCreatorGetter
func RoleCreator ¶
func RoleCreator() reconciling.NamedRoleCreatorGetter
func ServiceAccountCreator ¶
func ServiceAccountCreator(cfg *operatorv1alpha1.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 *operatorv1alpha1.KubermaticConfiguration, seed *kubermaticv1.Seed, versions kubermatic.Versions) reconciling.NamedDeploymentCreatorGetter
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.