def _status()

in cli/status.py [0:0]


  def _status(self) -> str:
    """Get the current healthscan status of a GKE cluster."""
    command = (
        f"kubectl get nodes -o custom-columns={self._custom_cols} "
        f"-l node.kubernetes.io/instance-type={self.machine_type}"
    )
    return subprocess.run(
        command,
        shell=True,
        text=True,
        check=False,
        capture_output=True,
    ).stdout