A Blue/green deployment with Payara Micro

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.

Hi Pedro! Thank you for your post.

The functionality you’re describing falls within our Payara Enterprise capabilities rather than what’s available in the Community Edition.

While Payara Community offers a wide range of features, some advanced capabilities are designed for our Enterprise customers who require additional support for mission-critical deployments.

The Community Edition remains powerful for many use cases, but if you need this specific functionality, you might want to explore our Enterprise offering .

If you have any other questions about what’s possible within the Community edition limits, please let us know, you can email us at info@payara.fish or feel free to message me directly via LinkedIn.

Dominika at the Payara Community Team