Issues the command kubectl delete -n services-dev1 -f elasticsearchDeployment.yaml to delete service, then kubectl create -n services-dev1 -f elasticsearchDeployment.yaml to restart it.
Only works with --rebuild flag, otherwise ignored
Use k8s-env --rebuild -reset-store to rebuild teraslice and reset elasticsearch.
Use k8s-env --rebuild --skip-build -reset-store to reset teraslice and elasticsearch without a rebuild.
Add
--reset-store
option tok8s-env
command.kubectl delete -n services-dev1 -f elasticsearchDeployment.yaml
to delete service, thenkubectl create -n services-dev1 -f elasticsearchDeployment.yaml
to restart it.--rebuild
flag, otherwise ignoredk8s-env --rebuild -reset-store
to rebuild teraslice and reset elasticsearch.k8s-env --rebuild --skip-build -reset-store
to reset teraslice and elasticsearch without a rebuild.ref: #3483