How do you usually operate a blue/green deployment with Payara Micro?
Situation:
In the Kubernetes cluster, a blue deployment runs with several pod replicas. The service is forwarding traffic to the blue app selector. The green deployment starts. The pods start up, and when the readiness probe returns a positive state, a patch is applied to update the app selector to green. The next step is to remove the blue deployment.
Although I have set the –shutdowngrace parameter for several seconds, so the logout from Hazelcast should complete correctly, how can I handle the situation where a long-running request is being processed in a blue pod? It will be terminated immediately, and the response will not be delivered to the user.
Thank you.