DgraphCluster has an object’s applyIndex() method from the default “DistributeIndexAndApply” scrpit to create a new script within your Deployment Template. You can see this script in AppConfig.xml for your application. The applyIndex() method will stop the dgraph, archived the log files, then restarted the dgraph.
<script id="RestartDgraphAndArchiveLogs"> <bean-shell-script> [![CDATA[DgraphCluster.applyIndex();]]> </bean-shell-script> </script>
For running this script, we can execute below command from location where your application is installed. For example if application installed at “C:\Endeca\Apps\DemoApp\” then go to location “C:\Endeca\Apps\DemoApp\control\” then run below command
"runcommand.bat/sh RestartDgraphAndArchiveLogs"
Connect kubernetes pod to a GCS bucket using JS
To connect from a Kubernetes pod to a Google Cloud Storage (GCS)…Easiest way to run an LLM locally on your Mac
I recently sought an efficient method for local experimentation with Language Model…EKS cluster using an existing VPC
The eksctl command line tool can create a cluster by either command-line options or…kubectl Unable to connect to the server
When working with Kubernetes if you are getting Unable to conntect to…