Skip to content

How to emulate disk offline in kind

Cesar Celis Hernandez edited this page Mar 22, 2023 · 3 revisions

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:
Screenshot 2023-03-22 at 3 42 25 PM Screenshot 2023-03-22 at 3 42 04 PM Screenshot 2023-03-22 at 3 42 14 PM

OLD WAY:

  • Modify the mountPath in the tenant that will give you for a moment of time disk offline:
Screenshot 2023-03-22 at 3 29 05 PM

image

image

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