def METHOD_NAME():
  parser = argparse.ArgumentParser(
      description="""
      Run a DNS performance test on a kubernetes cluster. Assumes a
      working `kubectl` executable.
      """)
  parser.add_argument(
      '--kubectl-exec', type=str, default='kubectl',
      help='location of the kubectl executable')
  parser.add_argument(
      '--dns-server', type=str, default='kube-dns',
      help='the type of dns server (kube-dns or coredns)')
  parser.add_argument(
      '--deployment-yaml', type=str, default='',
      help='yaml for the dns server deployment')
  parser.add_argument(
      '--service-yaml', type=str, default='',
      help='yaml for the dns server service')
  parser.add_argument(
      '--configmap-yaml', type=str, default='',
      help='yaml for the dns server configmap')
  parser.add_argument(
      '--dnsperf-yaml', type=str, default='cluster/dnsperf-deploy.yaml',
      help='yaml for the dnsperf client')
  parser.add_argument(
      '--query-dir', type=str, default='queries/',
      help='location of query files')
  parser.add_argument(
      '--params', type=str, required=True,
      help='perf test parameters')
  parser.add_argument(
      '--run-large-queries', action='store_true',
      help='runs large example query file from dnsperf repo')
  parser.add_argument(
      '--testsvc-yaml', type=str, default='cluster/testsvc.yaml',
      help='yaml for creating test services to be queried by dnsperf')
  parser.add_argument(
      '--out-dir', type=str, default='out',
      help='output directory')
  parser.add_argument(
      '--db', type=str, required=False,
      help='if set, put results in db for analysis')
  parser.add_argument(
      '--client-node', type=str,
      help='if set, force the client pod to be created on the given node')
  parser.add_argument(
      '--server-node', type=str,
      help='if set, force the server pod to be created on the given node')
  parser.add_argument(
      '--use-cluster-dns', action='store_true',
      help='if set, use cluster DNS instead of creating one')
  parser.add_argument(
      '--dns-ip', type=str, default='10.0.0.20',
      help='IP to use for the DNS service. Note: --use-cluster-dns '
        'implicitly sets the service-ip of kube-dns service')
  parser.add_argument(
      '--nodecache-ip', type=str, default='',
      help='IP of existing node-cache service to use for testing')
  parser.add_argument(
      '-v', '--verbose', action='store_true',
      help='show verbose logging')
  parser.add_argument(
      '--single-node', action='store_true',
      help='allow test to run on a single node (for local development only)')
  return parser.METHOD_NAME()