def METHOD_NAME(self, container: V1Pod, cmd: str) -> _t.Any:
    """Run command inside container.
    Args:
        container: Pod object.
        cmd: String of command.
    """
    return stream(
        self.client.connect_get_namespaced_pod_exec,
        container.metadata.name,
        container.metadata.namespace,
        command=shlex.split(cmd),
        container=self._get_main_container_name(container),
        stderr=True,
        stdin=True,
        stdout=True,
        tty=False,
    )