Skip to content

Restart a deployment#

When making changes to ConfigMaps you may need to restart the cluster deployments, for the pods to apply the updates. Lens Desktop enables you to restart a deployment without using kubectl.

To restart a deployment:

  1. Connect to the cluster from Catalog > Clusters.
  2. Navigate to Workloads > Deployments through the left panel.
  3. Select a deployment and click Options > Restart in the right column.
  4. In the following dialog menu, click Restart.

After restarting the deployment, you can navigate to Workloads > Pods and check the status of the pods. There should be a new pod running in the relevant namespace. You can check it by sorting the Age column.

restarting a deployment

See also

Kubernetes Documentation: ConfigMaps

Kubernetes Documentation: Deployments

Kubernetes Documentation: Pod Lifecycle