<p>I am running 1.6.2, and am hitting the <code>/apis/batch/v2alpha1/namespaces/&lt;namespace&gt;/cronjobs</code> endpoint, with a valid namespace and a request body of </p>

<pre><code>{
    "body": {
      "apiVersion": "batch/v2alpha1",
      "kind": "CronJob",
      "metadata": {
        "name": "hello"
      },
      "spec": {
        "schedule": "*/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>}</p>

<p>I receive a response of </p>

<pre><code>{
    "kind": "Status",
    "apiVersion": "v1",
    "metadata": {},
    "status": "Failure",
    "message": "the server could not find the requested resource",
    "reason": "NotFound",
    "details": {},
    "code": 404
}
</code></pre>

<p>According to the documentation, this endpoint should exist. I figure I probably have some setting set incorrectly, but I'm not sure which one and how to correct it. Any help is appreciated.</p>

<p>The v2alpha1 features are not enabled by default. Make sure you are starting your kube-apiserver with this switch to enable the CronJob resource: <code>--runtime-config=batch/v2alpha1=true</code>.</p>
