<p>Ever since I upgraded my EKS cluster to <code>v1.21</code>, I get the following error when triggering Cronjobs manually:</p>
<pre><code>➜  ~ kubectl create job --from=cronjob/elt-dim-customer-new test-1 -n dwh-dev
error: from must be an existing cronjob: no kind &quot;CronJob&quot; is registered for version &quot;batch/v1&quot; in scheme &quot;k8s.io/kubectl/pkg/scheme/scheme.go:28&quot;

➜  ~ kubectl version
Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;20&quot;, GitVersion:&quot;v1.20.2&quot;, 
GitCommit:&quot;faecb196815e248d3ecfb03c680a4507229c2a56&quot;, GitTreeState:&quot;clean&quot;, 
BuildDate:&quot;2021-01-13T13:28:09Z&quot;, GoVersion:&quot;go1.15.5&quot;, Compiler:&quot;gc&quot;, 
Platform:&quot;darwin/amd64&quot;}
Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;21+&quot;, GitVersion:&quot;v1.21.2-eks-0389ca3&quot;, GitCommit:&quot;8a4e27b9d88142bbdd21b997b532eb6d493df6d2&quot;, GitTreeState:&quot;clean&quot;, 
BuildDate:&quot;2021-07-31T01:34:46Z&quot;, GoVersion:&quot;go1.16.5&quot;, Compiler:&quot;gc&quot;, 
Platform:&quot;linux/amd64&quot;}
</code></pre>
<p>This is the Cronjob structure (you can see the <code>apiVersion</code>):</p>
<pre><code>apiVersion: batch/v1
kind: CronJob 
metadata:
  name: elt-dim-customer-new
spec:
  schedule: {{ .Values.cron }}
  successfulJobsHistoryLimit: 1
  failedJobsHistoryLimit: 1
  jobTemplate:
    spec:
      template:
        spec: 
</code></pre>
<p>Couldn't find what has changed in EKS 1.21. Will appreciate your assistance!</p>

jrz
<p>Please upgrade your kubectl to 1.21 as well.</p>
