  def GetDeployment(
      self, workload_id: str, namespace: str) -> workloads.K8sDeployment:
    """Gets a deployment from the cluster.

    Args:
      workload_id (str): The name of the deployment.
      namespace (str): The namespace of the deployment.

    Returns:
      workloads.K8sDeployment: The matching Kubernetes deployment.
    """
    return workloads.K8sDeployment(self._api_client, workload_id, namespace)
Gets a deployment from the cluster.

Args:
workload_id (str): The name of the deployment.
namespace (str): The namespace of the deployment.

Returns:
workloads.K8sDeployment: The matching Kubernetes deployment.
libcloudforensics/providers/kubernetes/cluster.py