You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support specifying externalTrafficPolicy in Services created by listener-operator (#773)
* Support specifying externalTrafficPolicy in Services created by listener-operator
* Update crates/stackable-operator/src/commons/listener.rs
Co-authored-by: Nick <[email protected]>
* Use strum::Display
* changelog
* add newlines
* Remove KubernetesTrafficPolicy::default(), switch to serde(default)
* changelog
* Use serde(default)
* Impl Default for ListenerSpec again
* typo
* fix changelog
* docs: Improve wording
* Move default into ListenerSpec::default_service_external_traffic_policy
---------
Co-authored-by: Nick <[email protected]>
/// Obscures the client source IP and may cause a second hop to another node, but allows Kubernetes to spread the load between all nodes.
87
+
Cluster,
88
+
89
+
/// Preserves the client source IP and avoid a second hop for LoadBalancer and NodePort type Services, but makes clients responsible for spreading the load.
90
+
Local,
91
+
}
92
+
71
93
/// Exposes a set of pods to the outside world.
72
94
///
73
95
/// Essentially a Stackable extension of a Kubernetes Service. Compared to a Service, a Listener changes three things:
@@ -78,8 +100,9 @@ pub enum ServiceType {
78
100
///
79
101
/// Learn more in the [Listener documentation](DOCS_BASE_URL_PLACEHOLDER/listener-operator/listener).
0 commit comments