<p>Is there a way to see see the restartPolicy of a CronJob using <code>kubectl</code>?</p>
<p>Here's my Kubernetes version info:</p>
<pre><code>Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;19&quot;, GitVersion:&quot;v1.19.4&quot;, GitCommit:&quot;d360454c9bcd1634cf4cc52d1867af5491dc9c5f&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2020-11-12T01:09:16Z&quot;, GoVersion:&quot;go1.15.4&quot;, Compiler:&quot;gc&quot;, Platform:&quot;darwin/amd64&quot;}
Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;18+&quot;, GitVersion:&quot;v1.18.9-eks-d1db3c&quot;, GitCommit:&quot;d1db3c46e55f95d6a7d3e5578689371318f95ff9&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2020-10-20T22:18:07Z&quot;, GoVersion:&quot;go1.13.15&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}
</code></pre>
<p>And this is what I see when running <code>kubectl describe cronjob -n default example-job</code>:</p>
<pre><code>Name:                          example-job
Namespace:                     default
Labels:                        app.kubernetes.io/instance=yogurt
                               app.kubernetes.io/managed-by=Helm
                               app.kubernetes.io/name=item-service
                               app.kubernetes.io/version=v0.1.4
                               helm.sh/chart=item-service-0.2.0
Annotations:                   meta.helm.sh/release-name: yogurt
                               meta.helm.sh/release-namespace: default
Schedule:                      4 */6 * * *
Concurrency Policy:            Replace
Suspend:                       False
Successful Job History Limit:  3
Failed Job History Limit:      1
Starting Deadline Seconds:     &lt;unset&gt;
Selector:                      &lt;unset&gt;
Parallelism:                   &lt;unset&gt;
Completions:                   &lt;unset&gt;
Pod Template:
  Labels:  &lt;none&gt;
  Containers:
   example-job:
    Image:      example.dkr.ecr.us-west-2.amazonaws.com/example-job:v1.1.1
    Port:       8099/TCP
    Host Port:  0/TCP
    Limits:
      memory:  600M
    Requests:
      memory:  500M
    Environment:
      server.port:                        8099
    Mounts:                               &lt;none&gt;
  Volumes:                                &lt;none&gt;
Last Schedule Time:                       Wed, 13 Jan 2021 06:04:00 -0600
Active Jobs:                              &lt;none&gt;
Events:                                   &lt;none&gt;
</code></pre>

wubbalubba
<p>why don't you try something like this -</p>
<pre><code>kubectl -n {namespace-name-here} get cronjob
</code></pre>
<p>this will give you all cronjobs in that namespace</p>
<pre><code>kubectl -n {namespace-name-here} get cronjob {cronjob-name} -o yaml
</code></pre>
<p>This will display the yaml used to create the cronjob</p>
