How to emulate disk offline in kind - cniackz/public GitHub Wiki

NEW WAY:

  1. Cordon the node
  2. Terminate the pod so that is not scheduled in the cordoned node
  3. Then you get a permanent drive offline scenario:

OLD WAY:

  • Modify the mountPath in the tenant that will give you for a moment of time disk offline:

image

image

  • The draw back is that it will not last forever and after some tiem disks will be online again.