<p>Creating a Pod with spec <code>terminationGracePeriodSeconds</code> specified, I can't check whether this spec has been applied successfully using <code>kubectl describe</code>. How can I check whether <code>terminationGracePeriodSeconds</code> option has been successfully applied? I'm running kubernetes version 1.19.</p>
<pre><code>apiVersion: v1
kind: Pod
metadata:
  name: mysql-client
spec:
  serviceAccountName: test
  terminationGracePeriodSeconds: 60
  containers:
  - name: mysql-cli
    image: blah
    command: [&quot;/bin/sh&quot;, &quot;-c&quot;]
    args:
      - sleep 2000
  restartPolicy: OnFailure
</code></pre>

<p>Assuming the pod is running successfully. You should be able to see the settings in the manifest.</p>
<p><strong>terminationGracePeriodSeconds</strong> is available in v1.19 as per the following page. Search for &quot;terminationGracePeriodSeconds&quot; here.
<a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/" rel="nofollow noreferrer">https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.19/</a></p>
<p>Now try this command:</p>
<pre><code>kubectl get pod mysql-client -o yaml | grep terminationGracePeriodSeconds -a10 -b10
</code></pre>
