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
Right now the documentation for routing external traffic to Akka in a Kubernetes environment contains this:
For production traffic e.g. HTTP use a regular service or an alternative ingress mechanism. With an appropriate readiness check this results in traffic not being routed until bootstrap has finished.
This will result in a ClusterIP being created and only added to Endpoints when the pods are ready
Note that the app is the same for both services as they both refer to the same pods.
A lot of readers who aren't familiar with the details of Kubernetes services might not be able to interpret this and are likely to copy the example without looking into alternatives. Indeed we seem to have copied it uncritically into some of our own example projects and guides. I think our default recommendation should be to use the ClusterIP service type (which is the default if you don't specify type) and then use Ingress to get traffic into the cluster. We might want to point readers to other resources to help them decide what to do for their own production services, such as one of these:
Right now the documentation for routing external traffic to Akka in a Kubernetes environment contains this:
A lot of readers who aren't familiar with the details of Kubernetes services might not be able to interpret this and are likely to copy the example without looking into alternatives. Indeed we seem to have copied it uncritically into some of our own example projects and guides. I think our default recommendation should be to use the
ClusterIP
service type (which is the default if you don't specifytype
) and then useIngress
to get traffic into the cluster. We might want to point readers to other resources to help them decide what to do for their own production services, such as one of these:(The last sentence is only relevant for the DNS bootstrap method, so that should probably move to that page.)
The text was updated successfully, but these errors were encountered: