    def delete(self, name: str, cluster: str | None = None) -> None:
        """
        Delete a deployment.

        Args:
            name: The name of the deployment.
            cluster: The name of the cluster.
        """
        self._client.v2.delete_deployment(name, cluster)
Delete a deployment.

Args:
name: The name of the deployment.
cluster: The name of the cluster.
src/bentoml/_internal/cloud/deployment.py