def METHOD_NAME(self, namespace, pod_name):
    containers = []
    resp = self.api.read_namespaced_pod(pod_name, namespace)
    for container in resp.spec.containers:
        containers.append(container.name)
    return containers