Restarting the WebEngine server

This topic provides the command to restart the WebEngine server through Kubernetes.

To restart the WebEngine server, run the following command:

kubectl exec -it <RELEASE-NAME>-web-engine-0 -n <NAMESPACE> -c web-engine -- /opt/openliberty/wlp/usr/svrcfg/bin/restart.sh

For example:

kubectl exec -it  dx-deployment-web-engine-0  -n dxns -c web-engine -- /opt/openliberty/wlp/usr/svrcfg/bin/restart.sh