<p>Did someone has an experience running scheduled job? Due to the <a href="http://kubernetes.io/docs/user-guide/scheduled-jobs/" rel="noreferrer">guide</a>, ScheduledJobs available since 1.4 with enabled runtime <strong>batch/v2alpha1</strong></p>

<p>So I was ensured with <code>kubectl api-versions</code> command:</p>

<pre><code>autoscaling/v1
batch/v1
batch/v2alpha1
extensions/v1beta1
storage.k8s.io/v1beta1
v1
</code></pre>

<p>But when I tried sample template below with command <code>kubectl apply -f job.yaml</code></p>

<pre><code>apiVersion: batch/v2alpha1
kind: ScheduledJob
metadata:
  name: hello
spec:
  schedule: 0/1 * * * ?
  jobTemplate:
    spec:
      template:
        spec:
          containers:
          - name: hello
            image: busybox
            args:
            - /bin/sh
            - -c
            - date; echo Hello from the Kubernetes cluster
          restartPolicy: OnFailure
</code></pre>

<p>I got error</p>

<pre><code>error validating "job.yaml": error validating data: couldn't find type: v2alpha1.ScheduledJob; if you choose to ignore these errors, turn validation off with --validate=false
</code></pre>

<p>It's possible that feature still not implemented? Or I made some error during template creation?</p>

<p>Thank you in advance.</p>

<p>Okay, I think I resolved this issue. ScheduledJobs is currently in alpha state and Google Container Engine supports this feature only for clusters with <strong>additionally enabled</strong> APIs. I was able to create such cluster with command:</p>

<p><code>gcloud alpha container clusters create my-cluster --enable-kubernetes-alpha</code></p>

<p>As a result now I have limited 30 day cluster with full feature support. I can see scheduled jobs with <code>kubectl get scheduledjobs</code> as well as create new ones with templates.</p>

<p>You can find more info about alpha clusters <a href="https://cloud.google.com/sdk/gcloud/reference/alpha/container/clusters/create" rel="noreferrer">here</a>.</p>
