# Saw a job that the controller did not create or forgot

**URL:** <https://discuss.kubernetes.io/t/saw-a-job-that-the-controller-did-not-create-or-forgot/29637>\
**Category:** General Discussions\
**Created:** [September 5, 2024, 8:01am UTC](https://discuss.kubernetes.io/t/saw-a-job-that-the-controller-did-not-create-or-forgot/29637 "2024-09-05T08:01:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Wajahat](https://avatars.discourse-cdn.com/v4/letter/w/f14d63/32.png) [@Wajahat](https://discuss.kubernetes.io/u/Wajahat)\
**Post date:** [September 5, 2024, 8:01am UTC](https://discuss.kubernetes.io/t/saw-a-job-that-the-controller-did-not-create-or-forgot/29637/1 "2024-09-05T08:01:33Z")

</div>

Asking for help? Comment out what you need so we can get more information to help you!

### Cluster information:

Hi  
I have a cronjob

```auto
`apiVersion: batch/v1`
`kind: CronJob`
`metadata:`
` name: app-hpa`
` namespace: prod`
`spec:`
` schedule: "30 03 * * *"`
` jobTemplate:`
` spec:`
` template:`
` spec:`
` serviceAccountName: scale-sa`
` containers:`
` - name: update-hpa`
` image: bitnami/kubectl:latest`
` command:`
` - /bin/sh`
` - -c`
` - |`
` kubectl patch hpa app-hpa -p '{"spec":{"minReplicas":2}}'`
` restartPolicy: OnFailure`

```

**i am having error**  
**Saw a job that the controller did not create or forgot**  
Kubernetes version:  
v1.29.7-eks-2f46c53  
Cloud being used: (put bare-metal if not on a public cloud)  
AWS  
Installation method:  
Host OS:  
NAME=“Amazon Linux”  
VERSION=“2”  
ID=“amzn”  
ID\_LIKE=“centos rhel fedora”  
VERSION\_ID=“2”  
PRETTY\_NAME=“Amazon Linux 2”  
ANSI\_COLOR=“0;33”  
CPE\_NAME=“cpe:2.3:o:amazon:amazon\_linux:2”  
HOME\_URL=“[https://amazonlinux.com/](https://amazonlinux.com/)”  
SUPPORT\_END=“2025-06-30”  
CNI and version:  
CRI and version:

You can format your yaml by highlighting it and pressing Ctrl-Shift-C, it will make your output easier to read.

---

<div class="post-metadata">

**Author:** ![Wajahat](https://avatars.discourse-cdn.com/v4/letter/w/f14d63/32.png) [@Wajahat](https://discuss.kubernetes.io/u/Wajahat)\
**Post date:** [September 5, 2024, 8:31am UTC](https://discuss.kubernetes.io/t/saw-a-job-that-the-controller-did-not-create-or-forgot/29637/2 "2024-09-05T08:31:51Z")

</div>

I got the answer, it was just a warning not an error, the controller just did not recognize the manual trigger. Job executed successfully.

---

<div class="post-metadata">

**Author:** ![jayeshmahajan](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.kubernetes.io/jayeshmahajan/32/15459_2.png) [@jayeshmahajan](https://discuss.kubernetes.io/u/jayeshmahajan)\
**Post date:** [September 6, 2024, 10:16pm UTC](https://discuss.kubernetes.io/t/saw-a-job-that-the-controller-did-not-create-or-forgot/29637/3 "2024-09-06T22:16:31Z")

</div>

🙂 thanks for letting us know
