code: def create_chaos_object(self, body):
      # body = create_chaos_config(self.plural, self.metadata_name, spec_params)
      # logger.info(body)
      pretty = "true"
      config.load_kube_config()
      api_instance = client.CustomObjectsApi()
      try:
          api_response = api_instance.create_namespaced_custom_object(
              self.group,
              self.version,
              self.namespace,
              plural=self.plural,
              body=body,
              pretty=pretty,
          )
          print(api_response)
          logging.getLogger().info(api_instance)
      except ApiException as e:
          logger.error(
              "Exception when calling CustomObjectsApi->create_namespaced_custom_object: %s\n"
              % e
          )
          raise Exception(str(e))
  
file_path: milvus/tests/benchmark/milvus_benchmark/chaos/chaos_opt.py
imports: from __future__ import print_function
  from utils import *
  import logging
  from pprint import pprint
  from kubernetes import client, config
  from kubernetes.client.rest import ApiException
  from milvus_benchmark import config
label_desc: Use image node_id 2 for calling the ChaosOpt obj's underlying member method code with example usage: obj.create_chaos_object(body) without return types