<p>I have seen both <code>serviceAccount</code> and <code>serviceAccountName</code> been used in a pod manifest. What is the difference?</p>

RubenLaguna
<p>There is no difference.</p>
<p><code>serviceAccount</code> is DEPRECATED and you should use <code>serviceAccountName</code> instead.</p>
<p>Quoting from  the <a href="https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.26/#podspec-v1-core" rel="nofollow noreferrer">Kubernetes API docs &gt; pod spec</a>:</p>
<blockquote>
<p>serviceAccount: <strong>Deprecated</strong>ServiceAccount is a deprecated alias for ServiceAccountName: Deprecated: <strong>Use serviceAccountName instead</strong></p>
</blockquote>
