<p>I have deployed a spring boot application on a pod(pod1) on a node(node1). I have also deployed JMeter on another pod(pod2) on a different node(node2). I am trying to perform automated load testing from pod2. To perform load testing, I require to restart the pod1 for each test cases. How do I restart pod1 from pod2?</p>

anushiya-thevapalan
<p>If you have a deployment type workload you can go into in through Workloads > [Deployment name] > Managed Pods [Pod name] and delete the pod. </p>

<p>You can also do this with <code>kubectl delete pod [pod name]</code></p>

<p>If you have a minimum number of pods for that deployment set then GKE will automatically spin up another pod, effectively restarting it.</p>

<p><a href="https://cloud.google.com/kubernetes-engine/docs/concepts/deployment" rel="nofollow noreferrer">https://cloud.google.com/kubernetes-engine/docs/concepts/deployment</a></p>
