Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Azure App And Configure Jvm Size #153

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

pderop
Copy link
Contributor

@pderop pderop commented Mar 6, 2024

This PR improves the deploy-to-azure workflow for the projectreactor site Azure spring app. Previously, it was assumed that the azure spring app was manually created before using this workflow. Now, if the app doesn't exist, this PR creates it and ensures it has at least 2 GB of memory to run.

Additionally, the spring app is now deployed with Java 11, like our old CF servers. The JVM memory is configured to 1 GB as before. However, due to memory requirements, the spring app memory is set to 2 GB. Setting the JVM to 1 GB actually needs more memory. If we set the application max memory size to 1 GB, it leads to a deployment error.

@pderop pderop added the type/enhancement A general enhancement label Mar 6, 2024
@pderop pderop self-assigned this Mar 6, 2024
@pderop pderop requested review from a team March 6, 2024 14:18
@pderop
Copy link
Contributor Author

pderop commented Mar 6, 2024

@violetagg , or @chemicL , can someone of you please review this PR ?

@pderop
Copy link
Contributor Author

pderop commented Mar 6, 2024

@violetagg , thanks !

@pderop pderop merged commit 48c9424 into reactor:main Mar 6, 2024
2 checks passed
@pderop pderop deleted the create-azure-app-and-configure-jvmsize branch March 6, 2024 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/enhancement A general enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants