run-java-sh | Universal startup script for plain Java applications
kandi X-RAY | run-java-sh Summary
kandi X-RAY | run-java-sh Summary
Universal startup script for plain Java applications
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of run-java-sh
run-java-sh Key Features
run-java-sh Examples and Code Snippets
Community Discussions
Trending Discussions on run-java-sh
QUESTION
I'm trying to deploy a simple single endpoint quarkus app to Google Cloud -> App Engine flex environment. I managed to deploy an uber-jar to standard environment, according to documentation
But I'm struggling to deploy with flex environment, as my understating, from the same documentation link as above, is that GCP will create a docker container based on the Dockerfile; In the end, my intention is to deploy a native image to GCP App Engine.
I followed the steps in the link above:
Copy the JVM Dockerfile to the root directory of your project: cp src/main/docker/Dockerfile.jvm Dockerfile
Build your application using mvn clean package
src/main/appengine/app.yaml has the following:
...
ANSWER
Answered 2021-Mar-22 at 20:26It seems i polluted the space with an embarrassing mistake; for Google Cloud App Engine ,flex environment, the app.yaml file should be placed in the root folder; it is also documented
Moreover, for some reason, the max_num_instances
should be explicitly set to a value of max 8, according to account quota google documentation otherwise a EXAHUSTED_RESOURCE
exception is thrown.
QUESTION
ANSWER
Answered 2020-Mar-17 at 08:56You need to make sure that the resource is included in the native image (it isn't by default).
Add a src/main/resources/resources-config.json
that includes something like:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install run-java-sh
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page