Describe the bug
Solr needs to be configured correctly to operate in a Kubernetes environment. The operator sets environment variables, but these are ignored by the entrypoint script.
To Reproduce
Use the operator to bring up a CMCC workload including Solr, then observe the variables set on the STS and compare to the system properties set on the actual Solr Java process:
Describe the bug Solr needs to be configured correctly to operate in a Kubernetes environment. The operator sets environment variables, but these are ignored by the entrypoint script.
To Reproduce Use the operator to bring up a CMCC workload including Solr, then observe the variables set on the STS and compare to the system properties set on the actual Solr Java process:
Environment variables set by the operator:
Actual system properties on the Java process:
Note in particular the incorrect specification of -Xss, -Xms, and -Xmx instead of -XX:*RAMPercentage.
Expected behavior The desired heap configuration is applied to the Solr process.