Test a Pod Failure

Learn how we can test a Pod failure.

We'll cover the following

The simplest way to test a failure is to delete a Pod manually. The StatefulSet controller will notice observed state vary from desired state and start a new Pod to reconcile. It will also connect it to the same PVC and volume.

Let’s test it. Use the following terminal to execute all the commands for this lesson:

Get hands-on with 1400+ tech skills courses.