Rolling Restart of Pods

Learn how to perform rolling restarts on all pods in a deployed application.

A rolling restart will restart all deployed pods one at a time (while keeping the other pods running) until they have all been updated.

The primary benefit of performing a rolling restart is that your environment can keep functioning and your application will not be affected or go down.

When to perform a Rolling Restart

You might need to perform a rolling restart in the following situations:

  • Unforeseen software behavior.
  • A pod is stuck in a terminating state for a long time. 
  • An error occurs in a pod and needs to be restarted.
  • Timeouts or exceptions.
  • Erroneous deployments.
  • Requesting persistent volumes that are not available.

While there are many pod restart methods, the simplest and safest way to restart Kubernetes pods is by performing a rolling restart.

Prerequisites

  • An environment must be created and launched with appropriate resources.
  • In these running environments, applications must have been deployed.

Perform Rolling Restart from Control Plane

  1. Login to Facets Control Plane.
  2. Select the Environment in your defined Blueprint.
Select the environment (Click on the image to expand)Select the environment (Click on the image to expand)

Select the environment (Click on the image to expand)

  1. Navigate to the Resources tab from the sidebar and select the application in which you want to perform a rolling restart.
Select the Application from Resources Tab (Click on the image to expand)Select the Application from Resources Tab (Click on the image to expand)

Select the Application from Resources Tab (Click on the image to expand)

  1. In Live Releases tab, click on the Rolling Restart All button under the Pods section.
Rolling Restart All button (Click on the image to expand)Rolling Restart All button (Click on the image to expand)

Rolling Restart All button (Click on the image to expand)

  1. A popup will appear for confirmation.
Confirmation Popup (Click on the image to expand)Confirmation Popup (Click on the image to expand)

Confirmation Popup (Click on the image to expand)

  1. Click on "Confirm" button to start rolling restart of all pods in the application.
  2. A success toaster is displayed if the rolling restart is initiated successfully.
  3. An error toaster with appropriate error message is displayed if the rolling restart fails.

Did this page help you?