code: def sanitize_pod_name(pod_name: str) -> str:
      pod_name = re.sub(r"[^a-z0-9-]", "-", pod_name.lower())
      pod_name = re.sub(r"^[-]+", "", pod_name)
      return re.sub(r"[-]+", "-", pod_name)
  
imports: import datetime
  import enum
  import os
  import re
  import time
  from typing import Callable, Dict, List, Optional
  from absl import logging
  from kubernetes import client
  from kubernetes import config
label_desc: Use image node_id 1 for calling a global function with example usage: sanitize_pod_name(pod_name) and returns: re