Documentation ¶
Index ¶
- Constants
- func DeploymentEnvoyReconciler(data nodePortProxyData) reconciling.NamedDeploymentReconcilerFactory
- func DeploymentLBUpdaterReconciler(data nodePortProxyData) reconciling.NamedDeploymentReconcilerFactory
- func FrontLoadBalancerServiceReconciler(data *resources.TemplateData) reconciling.NamedServiceReconcilerFactory
- func PodDisruptionBudgetReconciler() reconciling.NamedPodDisruptionBudgetReconcilerFactory
- func RoleBindingReconciler() (string, reconciling.RoleBindingReconciler)
- func RoleReconciler() (string, reconciling.RoleReconciler)
- func ServiceAccountReconciler() (string, reconciling.ServiceAccountReconciler)
- type ExposeType
- type ExposeTypes
Constants ¶
View Source
const ( // NodePortProxyExposeNamespacedAnnotationKey is the annotation key used to indicate that // a service should be exposed by the namespaced NodeportProxy instance. // We use it when clusters get exposed via a LoadBalancer, to allow re-using that LoadBalancer // for both the kube-apiserver and the openVPN server. NodePortProxyExposeNamespacedAnnotationKey = "nodeport-proxy.k8s.io/expose-namespaced" DefaultExposeAnnotationKey = "nodeport-proxy.k8s.io/expose" // PortHostMappingAnnotationKey contains the mapping between the port to be // exposed and the hostname, this is only used when the ExposeType is // SNIType. PortHostMappingAnnotationKey = "nodeport-proxy.k8s.io/port-mapping" )
Variables ¶
This section is empty.
Functions ¶
func DeploymentEnvoyReconciler ¶ added in v2.22.0
func DeploymentEnvoyReconciler(data nodePortProxyData) reconciling.NamedDeploymentReconcilerFactory
func DeploymentLBUpdaterReconciler ¶ added in v2.22.0
func DeploymentLBUpdaterReconciler(data nodePortProxyData) reconciling.NamedDeploymentReconcilerFactory
func FrontLoadBalancerServiceReconciler ¶ added in v2.22.0
func FrontLoadBalancerServiceReconciler(data *resources.TemplateData) reconciling.NamedServiceReconcilerFactory
FrontLoadBalancerServiceReconciler returns the creator for the LoadBalancer that fronts apiserver and openVPN when using exposeStrategy=LoadBalancer.
func PodDisruptionBudgetReconciler ¶ added in v2.22.0
func PodDisruptionBudgetReconciler() reconciling.NamedPodDisruptionBudgetReconcilerFactory
func RoleBindingReconciler ¶ added in v2.22.0
func RoleBindingReconciler() (string, reconciling.RoleBindingReconciler)
func RoleReconciler ¶ added in v2.22.0
func RoleReconciler() (string, reconciling.RoleReconciler)
func ServiceAccountReconciler ¶ added in v2.22.0
func ServiceAccountReconciler() (string, reconciling.ServiceAccountReconciler)
Types ¶
type ExposeType ¶ added in v2.16.3
type ExposeType int
ExposeType defines the strategy used to expose the service.
const ( // NodePortType is the default ExposeType which creates a listener for each // NodePort. NodePortType ExposeType = iota // SNIType configures Envoy to route TLS streams based on SNI // without terminating them. SNIType // TunnelingType configures Envoy to terminate the tunnel and stream the // data to the destination. // The only supported tunneling technique at the moment in HTTP/2 Connect. TunnelingType )
func ExposeTypeFromString ¶ added in v2.16.3
func ExposeTypeFromString(s string) (ExposeType, bool)
ExposeTypeFromString returns the ExposeType which string representation corresponds to the input string, and a boolean indicating whether the corresponding ExposeType was found or not.
func (ExposeType) String ¶ added in v2.16.3
func (e ExposeType) String() string
String returns the string representation of the ExposeType.
type ExposeTypes ¶ added in v2.16.3
type ExposeTypes map[ExposeType]sets.Empty
func NewExposeTypes ¶ added in v2.16.3
func NewExposeTypes(exposeTypes ...ExposeType) ExposeTypes
func (ExposeTypes) Has ¶ added in v2.16.3
func (e ExposeTypes) Has(item ExposeType) bool
func (ExposeTypes) Insert ¶ added in v2.16.3
func (e ExposeTypes) Insert(item ExposeType)
Click to show internal directories.
Click to hide internal directories.