code: def pods(self):
          
          return self.core_api.list_namespaced_pod(
              self.namespace,
              label_selector=format_labels(self.pod_template.metadata.labels)
          ).items
docs: A list of kubernetes pods corresponding to current workers
  
          See Also
          --------
          KubeCluster.logs