class PodShowLabels {
  private static final Logger logger = LoggerFactory.getLogger(PodShowLabels.class);

  public static void main(String[] args) {<FILL_FUNCTION_BODY>}
}

    try (final KubernetesClient k8s = new KubernetesClientBuilder().build()) {
      k8s.pods().inNamespace("default").list().getItems()
          .stream()
          .map(Pod::getMetadata)
          .map(ObjectMeta::getLabels)
          .filter(Objects::nonNull)
          .map(Objects::toString)
          .forEach(logger::info);
    }
  
<no_super_class>