diff --git a/openshift/README.md b/openshift/README.md index 9647d1a0a..75219e9c4 100644 --- a/openshift/README.md +++ b/openshift/README.md @@ -41,6 +41,10 @@ Follow these steps to build and deploy RadarGun image in OpenShift and run perfo 6) Create a subdirectory with configuration files for RadarGun and individual plugins. This directory will be mounted in main and worker pods in OpenShift as /opt/radargun-configs. + + You can include in this subdirectory additional configuration files. For example, a "hotrod-client.properties" file to configure the Hot Rod Java client. Also you can include a truststore/keystore file, etc. + + Then the files in this directory can be referenced in a benchmark configuration file as needed. 7) Create RadarGun deployment via template. Install "Infinispan Operator" diff --git a/openshift/configs/hotrod-client.properties b/openshift/configs/hotrod-client.properties new file mode 100644 index 000000000..da71dae63 --- /dev/null +++ b/openshift/configs/hotrod-client.properties @@ -0,0 +1,9 @@ +# Example configuration to connect to an authenticated cluster with encryption enabled (SSL channel). +# See the available properties here: https://docs.jboss.org/infinispan/14.0/apidocs/org/infinispan/client/hotrod/configuration/package-summary.html +infinispan.client.hotrod.auth_username=yourusername +infinispan.client.hotrod.auth_password=thepassword +infinispan.client.hotrod.auth_realm=default +infinispan.client.hotrod.sasl_mechanism=SCRAM-SHA-512 +infinispan.client.hotrod.trust_store_file_name=/opt/radargun-configs/truststore.jks +infinispan.client.hotrod.trust_store_type=JKS +infinispan.client.hotrod.trust_store_password=password \ No newline at end of file diff --git a/openshift/configs/radargun-benchmark.xml b/openshift/configs/radargun-benchmark.xml index 325257584..9836f5d8e 100644 --- a/openshift/configs/radargun-benchmark.xml +++ b/openshift/configs/radargun-benchmark.xml @@ -14,6 +14,8 @@ infinispan.myprojectradargun.svc.cluster.local:11222 + +