   "Extract the name of a pod from the pod itself"
   [^V1Pod pod]
   (-> pod .getMetadata .getName))
-
-(defn synthetic-pod?
-  "Given a pod name, returns true if it has the synthetic pod prefix"
-  [pod-name]
-  (str/starts-with? pod-name cook-synthetic-pod-name-prefix))
 
 (defn pod-unschedulable?
   "Returns true if the given pod status has a PodScheduled

        computed-mem (if checkpoint-memory-overhead (add-as-decimals mem checkpoint-memory-overhead) mem)]

    ; metadata
    (.setName metadata (str task-id))
    (.setNamespace metadata namespace)
    (.setLabels metadata labels)
    (when pod-annotations

        {:keys [custom-shell init-container set-container-cpu-limit? sidecar]} (config/kubernetes)
        checkpoint (calculate-effective-checkpointing-config job task-id)
        job-submit-time (tools/job->submit-time job)
        pod-name (str task-id)
        image (if (synthetic-pod? pod-name)
                image
                (calculate-effective-image (config/kubernetes) job-submit-time image checkpoint task-id))
        checkpoint-memory-overhead (:memory-overhead checkpoint)
        use-cook-init? (and init-container pod-supports-cook-init?)
        use-cook-sidecar? (and sidecar pod-supports-cook-sidecar?)
