<p>I've tried to add fsGroup to a Job with no luck, the generated Pod doesn't include the fsGroup in the security context.  Does a Kube Job allow for the fsGroup to be specified and then propagated to the generated Pod?</p>

<p>I'm using Kubernetes 1.4 and successfully created a job with <code>fsGroup</code>. Maybe you misplaced <code>fsGroup</code> in your manifest? This is my manifest:</p>

<pre><code>apiVersion: batch/v1
kind: Job
metadata:
  name: hello-world
spec:
  template:
    metadata:
      name: hello-world
    spec:
      containers:
        - name: hello-world-container
          image: hello-world
      securityContext:
        fsGroup: 1234
      restartPolicy: OnFailure
</code></pre>

<p>Output from <code>kubectl describe job hello-world</code>:</p>

<pre><code>  FirstSeen LastSeen    Count   From            SubobjectPath   Type        Reason          Message
  --------- --------    -----   ----            -------------   --------    ------          -------
  4m        4m      1   {job-controller }           Normal      SuccessfulCreate    Created pod: hello-world-yzyz7
</code></pre>

<p>Output from <code>kubectl get pod hello-world-yzyz7 -o yaml | grep fsGroup</code>:</p>

<pre><code>    fsGroup: 1234
</code></pre>
