docstr: get a customer resources by name in k8s
docstr_tok: ["get","a","customer","resources","by","name","in","k8s"]
code: def get(self, metadata_name):
      """get a customer resources by name in k8s"""
      try:
          api_instance = client.CustomObjectsApi()
          api_response = api_instance.get_namespaced_custom_object(
              self.group,
              self.version,
              self.namespace,
              self.plural,
              name=metadata_name,
          )
          # log.debug(f"get custom resource response: {api_response}")
      except ApiException as e:
          log.error(
              "Exception when calling CustomObjectsApi->get_namespaced_custom_object: %s\n"
              % e
          )
          raise Exception(str(e))
      return api_response
  
file_path: milvus/tests/python_client/common/cus_resource_opts.py
imports: from __future__ import print_function
  import os
  from kubernetes import client, config
  from kubernetes.client.rest import ApiException
  from utils.util_log import test_log
  from common.common_type import in_cluster_env
label_desc: Use image node_id 6 for calling the CustomResourceOperations obj's underlying member method code with example usage: obj.get(metadata_name) and returns: api_response