<p>I tried creating just a simple Service account in Kubernetes by running the command on my AWS EC2 cli <code>kubectl create serviceaccount jenkins --dry-run=client -o yaml &gt; jenkins-sa.yaml</code> and I have my <code>kube/config</code> file on my <code>/home/ec2-user</code>.</p>
<p>I applied the new config jenkins-sa.yaml by running <code>kubectl apply -f jenkins-sa.yaml</code> and then I tried to see more info about the newly created service account by running  <code>kubectl describe serviceaccount jenkins</code> which displays some information but without the secret token that should be associated to the jenkins service account by default.</p>
<p>Please I would be grateful if someone can point out what i'm doing wrong because I'm pretty new to Kubernetes. Below is a screenshot</p>
<p><a href="https://i.stack.imgur.com/x0jdK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/x0jdK.png" alt="enter image description here" /></a></p>

Emmanuel Spencer Egbuniwe
<p>You have to create the token secret manually. Here is a YAML example:</p>
<pre><code>apiVersion: v1
kind: Secret
type: kubernetes.io/service-account-token
metadata:
  name: jenkins-sa-token
  namespace: default
  annotations:
    kubernetes.io/service-account.name: &quot;jenkins&quot;
</code></pre>
<p>This will create a sercvice account token secret for your jenkins service account with name <code>jenkins-sa-token</code>.</p>
