Deploying StatefulSet

Deploying the StatefulSet Workload

Bash
Copy

Will output:

Bash
Copy

Verifying the StatefulSet Workload

Verify that the following conditions are met:

  • PV and PVC is Bound
  • PODs status is Running
  • StatefulSet has 3/3 Ready
Bash
Copy

Uninstalling the StatefulSet Workload

Bash
Copy

Verify that StatefulSet and PODs resources are gone:

Bash
Copy

Since the default StorageClass.reclaimPolicy is Retain, the PVCs and PVs will remain and will not be deleted.

In order to delete them, run the following:

Bash
Copy

Verify that all resources are gone:

Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard