class BindingExample {

  @SuppressWarnings("java:S106")
  public static void main(String[] args) {<FILL_FUNCTION_BODY>}
}

    final String podName = "binding-example-" + generateId();
    try (final KubernetesClient client = new KubernetesClientBuilder().build()) {
      final String namespace;
      if (client.getConfiguration().getNamespace() != null) {
        namespace = client.getConfiguration().getNamespace();
      } else if (client.getNamespace() != null) {
        namespace = client.getNamespace();
      } else {
        namespace = client.namespaces().list().getItems().stream().findFirst()
            .orElseThrow(() -> new IllegalStateException("No namespace available")).getMetadata().getName();
      }

      client.pods().inNamespace(namespace).resource(new PodBuilder()
          .withMetadata(new ObjectMetaBuilder()
              .withName(podName)
              .build())
          .withSpec(new PodSpecBuilder()
              .withSchedulerName("random-scheduler-name-which-does-not-exist")
              .addNewContainer()
              .withName(podName)
              .withImage("nginx:latest")
              .endContainer()
              .build())
          .build()).create();
      final Node firstNode = client.nodes().list().getItems().stream().findFirst()
          .orElseThrow(() -> new IllegalStateException("No nodes available"));
      client.bindings().inNamespace(namespace).resource(new BindingBuilder()
          .withNewMetadata().withName(podName).endMetadata()
          .withNewTarget()
          .withKind(firstNode.getKind())
          .withApiVersion(firstNode.getApiVersion())
          .withName(firstNode.getMetadata().getName()).endTarget()
          .build()).create();
      System.out.printf("Successfully bound Pod %s to Node %s%n",
          podName, firstNode.getMetadata().getName());
    }
  
<no_super_class>