<p>I created a token for my service account using the command 'kubectl create token admin-user'. But after a while it becomes unusable and I have to create it again. How can I generate a token for my service account without expire time?</p>

<p>Try the token for one year using the below command. You can define duration as appropriate, say <strong>--duration=87600h for 10 years</strong> and so on</p>
<pre><code>kubectl create token admin-user --duration=8760h
</code></pre>
