diff --git a/pkg/controller/seldondeployment/seldondeployment_engine.go b/pkg/controller/seldondeployment/seldondeployment_engine.go index 2e718f3f..446ab2b2 100644 --- a/pkg/controller/seldondeployment/seldondeployment_engine.go +++ b/pkg/controller/seldondeployment/seldondeployment_engine.go @@ -119,7 +119,7 @@ func createEngineContainer(mlDep *machinelearningv1alpha2.SeldonDeployment, p *m } //get annotation for java opts or default - javaOpts := getAnnotation(mlDep, machinelearningv1alpha2.ANNOTATION_JAVA_OPTS, "-Dcom.sun.management.jmxremote.rmi.port=9090 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9090 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.local.only=false -Djava.rmi.server.hostname=127.0.0.1") + javaOpts := getAnnotation(mlDep, machinelearningv1alpha2.ANNOTATION_JAVA_OPTS, "-server -Dcom.sun.management.jmxremote.rmi.port=9090 -Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.port=9090 -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.local.only=false -Djava.rmi.server.hostname=127.0.0.1") //Engine resources engineResources := p.SvcOrchSpec.Resources