def _CreateService(self):
    """
    Creates a Service (POD accessor).
    """
    # Intentionally setting validation flag to false as the kubectl binary
    # drops the request if nodePort parameter is not provided. However, it
    # is not needed - in such case nodePort will be automatically drawn
    # from the pool of ports.
    create_cmd = [FLAGS.kubectl, '--kubeconfig=%s' % FLAGS.kubeconfig,
                  'create', '--validate=false', '-f', '-']
    create_svc_body = self._BuildServiceBody()
    output = vm_util.IssueCommand(create_cmd, input=create_svc_body)
    if output[EXIT_CODE]:
      raise Exception(output[STDERR] % "Creating Service failed: %s")
    logging.info(output[STDOUT].rstrip())
dataset/ETHPy150Open GoogleCloudPlatform/PerfKitBenchmarker/perfkitbenchmarker/providers/kubernetes/kubernetes_virtual_machine.py/KubernetesVirtualMachine._CreateService/swapped operands of `%`