Skip to content

Commit f1a9a5c

Browse files
fhennigrazvan
andauthored
Update modules/concepts/pages/service-exposition.adoc
Co-authored-by: Razvan-Daniel Mihai <84674+razvan@users.noreply.github.com>
1 parent 2d78e4d commit f1a9a5c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

modules/concepts/pages/service-exposition.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ There are three options, one for internal traffic and two for external access, w
3333

3434
External access is needed when a product needs to be accessed from _outside_ of Kubernetes. This is necessary for all end user products such as xref:superset:index.adoc[Apache Superset]. Some tools can expose APIs for data ingestion like xref:kafka:index.adoc[Apache Kafka] or xref:nifi:index.adoc[Apache NiFi]. If data needs to be ingested from outside of the cluster, one of the external listener classes should be chosen.
3535

36-
When to use `stable` and when to use `unstable`? The `external-unstable` setting exposes a NodePort. This settings is always available, it means that the service will be exposed at a port on the node that the Pod is running on. This has the disadvantage that the port is not stable across service restarts, and depending on the cluster topology the service might also be scheduled on a different node, meaning that the IP is also changing. The `external-stable` setting uses a LoadBalancer. The LoadBalancer is running at a fixed adress and is therefore `stable`. Managed Kubernetes services in the cloud usually offer a LoadBalancer, but for an on premise cluster you have to configure a LoadBalancer yourself. For a production setup, it is recommended to use a LoadBalancer or `external-stable` ListenerClass.
36+
When to use `stable` and when to use `unstable`? The `external-unstable` setting exposes a product interface via a Kuberneres NodePort. In this case the service's IP address and port can change if Kubernetes needs to restart or reschedule the Pod to another node.
37+
38+
The `external-stable` class uses a LoadBalancer. The LoadBalancer is running at a fixed address and is therefore `stable`. Managed Kubernetes services in the cloud usually offer a LoadBalancer, but for an on premise cluster you have to configure a LoadBalancer yourself. For a production setup, it is recommended to use a LoadBalancer or `external-stable` ListenerClass.
3739

3840
== Outlook
3941

0 commit comments

Comments
 (0)