  def CordonNodes() -> None:
    """Cordons the compromised nodes."""
    for node in workload_nodes:
      logger.info(
          'Cordoning Kubernetes node {0:s} from {1:s} '
          'deployment...'.format(node.name, workload.name))
      node.Cordon()
Cordons the compromised nodes.
libcloudforensics/providers/gcp/forensics.py