microsoft / azure-container-apps

Roadmap and issues for Azure Container Apps
MIT License
355 stars 27 forks source link

JVM not working as expected in NorwayEast #1178

Closed mortenf1984 closed 2 weeks ago

mortenf1984 commented 1 month ago

Please provide us with the following information:

This issue is a: (mark with an x)

Issue description

I am unable to get JVM autoscaling to work, I am not seeing the log messages that I was expecting indicating that my container with Java have activated the JVM Automemory #1094 Followed the documentation, and I fulfill all the criterias for this

Steps to reproduce

  1. create a Environment in NorwayEast
  2. create a Java Container App
  3. verify that it does not provide the "Disabling jvm memory fitting" or "Calculated JVM Memory Configuration" in logstream

Expected behavior [What you expected to happen.] I expected to see "Calculated JVM Memory Configuration"

Actual behavior [What actually happened.] No change from before JVM Memmory Fit was added

bowen5 commented 4 weeks ago

Hey @mortenf1984 , would you please further share how did you "create Java Container App", for example the CLI command you used?

One thing to note that, as the doc https://learn.microsoft.com/en-us/azure/container-apps/java-memory-fit?tabs=create described, currently the "memory fitting" feature supports deploying from source code or JAR file. It doesn't support when you already containerized your application and directly deploy the container image.

microsoft-github-policy-service[bot] commented 3 weeks ago

This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.