code: def create_cluster(cluster_config: str):
      """Create a cortex cluster from a cluster config"""
      with open(cluster_config) as f:
          config = yaml.safe_load(f)
  
      p = subprocess.run(
          [
              "cortex",
              "cluster",
              "up",
              cluster_config,
              "-y",
              "--configure-env",
              config["cluster_name"],
          ],
          stdout=sys.stdout,
          stderr=sys.stderr,
      )
  
      if p.returncode != 0:
          raise ClusterCreationException(
              f"failed to create cluster with config: {cluster_config}"
          )
  
imports: import subprocess
  import sys
  import yaml
  from e2e.exceptions import ClusterCreationException, ClusterDeletionException
label_desc: Use image node_id 1 for calling a global function with example usage: create_cluster(cluster_config) without return types