<p>I have a cron job that continues to run though I have no deployments or jobs. I am running minikube:</p>
<pre><code>$ kubectl get deployments
No resources found in default namespace.

$ kubectl delete pods --all &amp;&amp; kubectl delete jobs --all &amp;&amp; get deployments
pod &quot;hello-27125612-lmcb5&quot; deleted
pod &quot;hello-27125613-w5ln9&quot; deleted
pod &quot;hello-27125614-fz84r&quot; deleted
pod &quot;hello-27125615-htf4z&quot; deleted
pod &quot;hello-27125616-k5czn&quot; deleted
pod &quot;hello-27125617-v79hx&quot; deleted
pod &quot;hello-27125618-bxg52&quot; deleted
pod &quot;hello-27125619-d6wps&quot; deleted
pod &quot;hello-27125620-66b65&quot; deleted
pod &quot;hello-27125621-cj8m9&quot; deleted
pod &quot;hello-27125622-vx5kp&quot; deleted
pod &quot;hello-27125623-xj7nj&quot; deleted
job.batch &quot;hello-27125612&quot; deleted
job.batch &quot;hello-27125613&quot; deleted
job.batch &quot;hello-27125614&quot; deleted
...

$ kb get jobs
No resources found in default namespace.
$ kb get deployments
No resources found in default namespace.
$ kb get pods
No resources found in default namespace.
</code></pre>
<p>Yet a few seconds later:</p>
<pre><code>$ kb get jobs
NAME             COMPLETIONS   DURATION   AGE
hello-27125624   0/1           79s        79s
hello-27125625   0/1           19s        19s
</code></pre>
<p>Get the job:</p>
<pre><code>$ kubectl get job hello-27125624 -oyaml
apiVersion: batch/v1
kind: Job
metadata:
  creationTimestamp: &quot;2021-07-29T05:44:00Z&quot;
  labels:
    controller-uid: 26beb7de-1c60-4854-a70f-54b6d066c22c
    job-name: hello-27125624
  name: hello-27125624
  namespace: default
  ownerReferences:
  - apiVersion: batch/v1
    blockOwnerDeletion: true
    controller: true
    kind: CronJob
    name: hello
    uid: 32be2372-d827-4971-a659-129823de18e2
  resourceVersion: &quot;551585&quot;
  uid: 26beb7de-1c60-4854-a70f-54b6d066c22c
spec:
  backoffLimit: 6
  completions: 1
  parallelism: 1
  selector:
    matchLabels:
      controller-uid: 26beb7de-1c60-4854-a70f-54b6d066c22c
  template:
    metadata:
      creationTimestamp: null
      labels:
        controller-uid: 26beb7de-1c60-4854-a70f-54b6d066c22c
        job-name: hello-27125624
    spec:
      containers:
      - command:
        - /bin/sh
        - -c
        - date; echo Hello from the Kubernetes cluster
        image: kahunacohen/hello-kube:latest
        imagePullPolicy: IfNotPresent
        name: hello
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
      dnsPolicy: ClusterFirst
      restartPolicy: OnFailure
      schedulerName: default-scheduler
      securityContext: {}
      terminationGracePeriodSeconds: 30
status:
  active: 1
  startTime: &quot;2021-07-29T05:44:00Z&quot;
</code></pre>
<p>I tried this:</p>
<pre><code>$ kubectl get ReplicationController
No resources found in default namespace.
</code></pre>
<p>Here is the pod running the job:</p>
<pre><code>$ kubectl get pod hello-27125624-kc9zw -oyaml
apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: &quot;2021-07-29T05:44:00Z&quot;
  generateName: hello-27125624-
  labels:
    controller-uid: 26beb7de-1c60-4854-a70f-54b6d066c22c
    job-name: hello-27125624
  name: hello-27125624-kc9zw
  namespace: default
  ownerReferences:
  - apiVersion: batch/v1
    blockOwnerDeletion: true
    controller: true
    kind: Job
    name: hello-27125624
    uid: 26beb7de-1c60-4854-a70f-54b6d066c22c
  resourceVersion: &quot;551868&quot;
  uid: f0c10049-b3f9-4352-9201-774dbd91d7c3
spec:
  containers:
  - command:
    - /bin/sh
    - -c
    - date; echo Hello from the Kubernetes cluster
    image: kahunacohen/hello-kube:latest
    imagePullPolicy: IfNotPresent
    name: hello
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-7cw4q
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  nodeName: minikube
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: OnFailure
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: default
  serviceAccountName: default
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
    tolerationSeconds: 300
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 300
  volumes:
  - name: kube-api-access-7cw4q
    projected:
      defaultMode: 420
      sources:
      - serviceAccountToken:
          expirationSeconds: 3607
          path: token
      - configMap:
          items:
          - key: ca.crt
            path: ca.crt
          name: kube-root-ca.crt
      - downwardAPI:
          items:
          - fieldRef:
              apiVersion: v1
              fieldPath: metadata.namespace
            path: namespace
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: &quot;2021-07-29T05:44:00Z&quot;
    status: &quot;True&quot;
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: &quot;2021-07-29T05:44:00Z&quot;
    message: 'containers with unready status: [hello]'
    reason: ContainersNotReady
    status: &quot;False&quot;
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: &quot;2021-07-29T05:44:00Z&quot;
    message: 'containers with unready status: [hello]'
    reason: ContainersNotReady
    status: &quot;False&quot;
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: &quot;2021-07-29T05:44:00Z&quot;
    status: &quot;True&quot;
    type: PodScheduled
  containerStatuses:
  - image: kahunacohen/hello-kube:latest
    imageID: &quot;&quot;
    lastState: {}
    name: hello
    ready: false
    restartCount: 0
    started: false
    state:
      waiting:
        message: Back-off pulling image &quot;kahunacohen/hello-kube:latest&quot;
        reason: ImagePullBackOff
  hostIP: 192.168.49.2
  phase: Pending
  podIP: 172.17.0.2
  podIPs:
  - ip: 172.17.0.2
  qosClass: BestEffort
  startTime: &quot;2021-07-29T05:44:00Z&quot;
</code></pre>
<p>How do I track down who is spawning these jobs and how do I stop it?</p>

Aaron
<p>These pods are managed by <a href="https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/" rel="nofollow noreferrer">cronjob controller</a>.</p>
<p>Use <code>kubectl get cronjobs</code> to list them.</p>
