no matches for kind "CronJob" in version "batch/v1"
I use Kubernetes which v1.19.7, when I run the CronJob sample apiVersion: batch/v1 kind: CronJob metadata: name: express-learn-cronjob spec: schedule: "*/1 * * * *" jobTemplate: spec: template: spec: containers: - name: hello image: busybox command: - /bin/sh - -c - date; echo Hello from the Kubernetes cluster restartPolicy: OnFailure get unable to recognize