You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by "srinivasks22 (via GitHub)" <gi...@apache.org> on 2023/11/23 22:12:54 UTC
[I] AutoScaling - Quarkus, KNative [camel-karavan]
srinivasks22 opened a new issue, #1001:
URL: https://github.com/apache/camel-karavan/issues/1001
Using Karavan, Openshift, Camel Jang with below properties and trying to get to the default behaviour which is if the requests are idle, the Openshift would scale down the container to Zero. But as such it is not happenning. I tried explicitly setting the value quarkus.knative.scale-to-zero-enabled=true but still no luck? Any guidance would be helpful.
camel.health.enabled=true
camel.health.exposure-level=full
camel.karavan.project-id=karavan-serving
camel.karavan.project-name=karavan-serving
camel.karavan.project-description=karavan-serving
camel.karavan.target=openshift
camel.jbang.gav=org.kafka:karavan-serving:1
camel.jbang.quarkusVersion=3.5.2
camel.jbang.runtime=quarkus
camel.jbang.exportDir=.export
camel.jbang.dependencies=camel:microprofile-health,mvn:io.quarkus:quarkus-openshift,mvn:io.quarkus:quarkus-container-image-jib,mvn:io.quarkus:quarkus-resteasy-reactive,mvn:io.quarkus:quarkus-kubernetes
# image build properties
quarkus.container-image.build=true
quarkus.container-image.group=${NAMESPACE}
quarkus.container-image.name=interop-poc/karavan-serving
quarkus.container-image.tag=${DATE}
quarkus.container-image.builder=openshift
quarkus.container-image.registry=image-registry.openshift-image-registry.svc:5000
quarkus.openshift.resources.requests.memory=128Mi
quarkus.openshift.resources.requests.cpu=250m
quarkus.openshift.resources.limits.memory=256Mi
quarkus.openshift.resources.limits.cpu=1000m
# deployment properties
quarkus.kubernetes.deploy=true
quarkus.kubernetes-client.trust-certs=true
#quarkus.kubernetes.deployment-target=openshift
quarkus.kubernetes.deployment-target=knative
quarkus.kubernetes-client.namespace=${NAMESPACE}
quarkus.kubernetes.namespace=${NAMESPACE}
quarkus.openshift.labels."app.openshift.io/runtime"=camel
quarkus.openshift.deployment-kind=Deployment
quarkus.openshift.add-version-to-label-selectors=false
quarkus.openshift.route.expose=true
quarkus.openshift.part-of=karavan-serving
quarkus.openshift.replicas=1
quarkus.openshift.base-jvm-image=registry.access.redhat.com/ubi9/openjdk-17:1.17-1
##############
#quarkus.openshift.route.target-port=
#quarkus.knative.min-scale=0
#quarkus.knative.max-scale=5
quarkus.knative.scale-to-zero-enabled=true
quarkus.knative.revision-auto-scaling.auto-scaler-class=kpa
#quarkus.knative.revision-auto-scaling.metric=cpu
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] AutoScaling - Quarkus, KNative [camel-karavan]
Posted by "mgubaidullin (via GitHub)" <gi...@apache.org>.
mgubaidullin commented on issue #1001:
URL: https://github.com/apache/camel-karavan/issues/1001#issuecomment-1825105874
I am not an expert on Knative but I believe that it should be Openshift Serverless installed on OpenShift for that
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] AutoScaling - Quarkus, KNative [camel-karavan]
Posted by "mgubaidullin (via GitHub)" <gi...@apache.org>.
mgubaidullin closed issue #1001: AutoScaling - Quarkus, KNative
URL: https://github.com/apache/camel-karavan/issues/1001
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: commits-unsubscribe@camel.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org