Skip to content

Commit 7a33db2

Browse files
sbernauerTechassi
andauthored
Update crates/stackable-operator/src/crd/listener/class/mod.rs
Co-authored-by: Techassi <git@techassi.dev>
1 parent 5c47870 commit 7a33db2

File tree

1 file changed

+7
-8
lines changed
  • crates/stackable-operator/src/crd/listener/class

1 file changed

+7
-8
lines changed

crates/stackable-operator/src/crd/listener/class/mod.rs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -55,15 +55,14 @@ pub mod versioned {
5555
/// It is a Kubernetes feature that controls how external traffic is routed to a Kubernetes
5656
/// Service.
5757
///
58-
/// * `Cluster`: Kubernetes defaults to `Cluster`, which means that traffic is routed to any
59-
/// node in the Kubernetes cluster that has a pod running the service.
60-
/// * `Local`: Means that traffic is only routed to pods running on the same node as the
61-
/// Service.
58+
/// * `Cluster`: Kubernetes default. Traffic is routed to any node in the Kubernetes cluster that
59+
/// has a pod running the service.
60+
/// * `Local`: Traffic is only routed to pods running on the same node as the Service.
6261
///
63-
/// `Local` has a better performance as it avoids a network hop, but requires a "clever"
64-
/// LoadBalancer, that respects what Pods run on which nodes and routes traffic only to that
65-
/// nodes accordingly. Some cloud providers (such as IONOS) or bare metal installations
66-
/// don't have such features, so the default is `Cluster` to work everywhere.
62+
/// The `Local` mode has better performance as it avoids a network hop, but requires a more
63+
/// sophisticated LoadBalancer, that respects what Pods run on which nodes and routes traffic only
64+
/// to these nodes accordingly. Some cloud providers or bare metal installations do not implement
65+
/// some of the required features.
6766
pub service_external_traffic_policy: Option<core_v1alpha1::KubernetesTrafficPolicy>,
6867

6968
/// Whether addresses should prefer using the IP address (`IP`) or the hostname (`Hostname`).

0 commit comments

Comments
 (0)