if you need session replication, Wildfly instances need to be clustered. To solve this, you can use the Kubernetes discovery protocol for JGroups: KUBE_PING.
Cross-cutting concerns are an integral part of any system design. By identifying and defining the Cross-cutting concerns upfront helps to design more secure and performant applications