Skip to content

How to pass additional native jvm args on kubernetes deployment? #37711

Closed Answered by HerrDerb
HerrDerb asked this question in Q&A
Discussion options

You must be logged in to vote

Solved it with a custom native docker image

FROM quay.io/quarkus/quarkus-micro-image:2.0
COPY /runWithOptArgs.sh /work/runWithOptArgs.sh
ENTRYPOINT ["/bin/sh","/work/runWithOptArgs.sh"] 

whereas the entry point script looks like

echo "Build time native args: $@"
echo "Additional native jvm args: $ADDITIONAL_NATIVE_JVM_ARGS"
/work/application $@ $ADDITIONAL_NATIVE_JVM_ARGS

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@HerrDerb
Comment options

@geoand
Comment options

@HerrDerb
Comment options

@geoand
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by HerrDerb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment