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

    try (final KubernetesClient k8s = new KubernetesClientBuilder().build()) {
      /*
       * If namespace is specified in YAML client would pick it up from there,
       * otherwise you would need to specify it in operation context like being done
       * here.
       */
      k8s.load(PodDeleteViaYaml.class.getResourceAsStream("/test-pod.yaml"))
          .inNamespace("default")
          .delete();
    }
  
<no_super_class>