From 271d47db1149ee1471a66198272442d395740c07 Mon Sep 17 00:00:00 2001 From: runzexia Date: Thu, 17 Oct 2019 15:33:50 +0800 Subject: [PATCH] Update README.md --- java/images/centos-java11/README.md | 32 ----------------------------- 1 file changed, 32 deletions(-) diff --git a/java/images/centos-java11/README.md b/java/images/centos-java11/README.md index a239b6a..f0163f0 100644 --- a/java/images/centos-java11/README.md +++ b/java/images/centos-java11/README.md @@ -118,38 +118,6 @@ Example: export MAVEN_OPTS="$(run-java.sh options --memory)" mvn clean install ``` - - -#### Jolokia configuration - -* **AB_JOLOKIA_OFF** : If set disables activation of Jolokia (i.e. echos an empty value). By default, Jolokia is enabled. -* **AB_JOLOKIA_CONFIG** : If set uses this file (including path) as Jolokia JVM agent properties (as described - in Jolokia's [reference manual](http://www.jolokia.org/reference/html/agents.html#agents-jvm)). If not set, - the `/opt/jolokia/etc/jolokia.properties` will be created using the settings as defined in this document, otherwise - the reset of the settings in this document are ignored. -* **AB_JOLOKIA_HOST** : Host address to bind to (Default: `0.0.0.0`) -* **AB_JOLOKIA_PORT** : Port to use (Default: `8778`) -* **AB_JOLOKIA_USER** : User for basic authentication. Defaults to 'jolokia' -* **AB_JOLOKIA_PASSWORD** : Password for basic authentication. By default authentication is switched off. -* **AB_JOLOKIA_PASSWORD_RANDOM** : Should a random AB_JOLOKIA_PASSWORD be generated? Generated value will be written to `/opt/jolokia/etc/jolokia.pw` -* **AB_JOLOKIA_HTTPS** : Switch on secure communication with https. By default self signed server certificates are generated - if no `serverCert` configuration is given in `AB_JOLOKIA_OPTS` -* **AB_JOLOKIA_ID** : Agent ID to use (`$HOSTNAME` by default, which is the container id) -* **AB_JOLOKIA_DISCOVERY_ENABLED** : Enable Jolokia discovery. Defaults to false. -* **AB_JOLOKIA_OPTS** : Additional options to be appended to the agent configuration. They should be given in the format - "key=value,key=value,..." - -Some options for integration in various environments: - -* **AB_JOLOKIA_AUTH_OPENSHIFT** : Switch on client authentication for OpenShift TSL communication. The value of this - parameter can be a relative distinguished name which must be contained in a presented client certificate. Enabling this - parameter will automatically switch Jolokia into https communication mode. The default CA cert is set to - `/var/run/secrets/kubernetes.io/serviceaccount/ca.crt` - - - -Application arguments can be provided by setting the variable **JAVA_ARGS** to the corresponding value. - ## Spring Boot Automatic Restarts This image also supports detecting jars with [Spring Boot devtools](https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#using-boot-devtools) included, which allows automatic restarts when files on the classpath are updated. Files can be easily updated in OpenShift using command [`oc rsync`](https://docs.openshift.org/latest/dev_guide/copy_files_to_container.html).