HoustonPutman commented on a change in pull request #226:
URL: 
https://github.com/apache/lucene-solr-operator/pull/226#discussion_r585087532



##########
File path: docs/solr-cloud/solr-cloud-crd.md
##########
@@ -810,3 +812,22 @@ Also, changing the password for this user in the K8s 
secret will not update Solr
 
 If you enable basic auth for your SolrCloud cluster, then you need to point 
the Prometheus exporter at the basic auth secret; 
 refer to [Prometheus Exporter with Basic 
Auth](../solr-prometheus-exporter/README.md#prometheus-exporter-with-basic-auth)
 for more details.
+
+## Various Runtime Parameters
+
+There are various runtime parameters that allow you to customize the running 
of your Solr Cloud via the Solr Operator.
+
+### Time to wait for Solr to be killed gracefully
+
+The Solr Operator manages the Solr StatefulSet in a way that when a Solr pod 
needs to be stopped, or deleted, Kubernetes and Solr are on the same page for 
how long to wait for the process to die gracefully.
+
+The default time given is 60 seconds, before Solr or Kubernetes tries to 
forcefully stop the Solr process.
+You can override this default with the field:
+
+```yaml
+spec:
+  ...
+  customSolrKubeOptions:
+    podOptions:
+      terminationGracePeriodSeconds: 120

Review comment:
       This is a setting that users can set on pods, we merely forward this 
information to the pod. There is no k8s source of truth other than the value 
that each pod has. The default, set by the Solr Operator is 60 seconds.
   
   Also I think the default value (for the pod) is different based on the 
kubernetes distribution you use, but we shouldn't be relying on a default that 
has nothing to do with Solr.




----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@lucene.apache.org
For additional commands, e-mail: issues-h...@lucene.apache.org

Reply via email to