def METHOD_NAME(bm_spec: _BenchmarkSpec) -> None:
  """Install Memcached on K8s cluster and memtier_benchmark on client VMs."""
  client_vms = bm_spec.vm_groups['clients']
  # Install Memtier and Memcached on the cluster
  prepare_fns = (
      [functools.partial(_PrepareCluster)] +
      [functools.partial(vm.Install, 'memtier') for vm in client_vms])
  background_tasks.RunThreaded(lambda f: f(), prepare_fns)