<p>I usually use the kustomize supplied with kubectl. I'm wondering if there is a way to find the kustomize version that is shipped with kubectl ?</p>

Sibi
<p>For earlier version of kubectl, there was no such way of doing it and there was an issue related to it: <a href="https://github.com/kubernetes-sigs/kustomize/issues/1424" rel="nofollow noreferrer">https://github.com/kubernetes-sigs/kustomize/issues/1424</a></p>
<p>But it has been fixed recently and it seems starting from <code>1.24</code> we are able to get the version by just doing <code>kubectl version</code>:</p>
<pre><code>❯ ./kubectl version --short --client
Flag --short has been deprecated, and will be removed in the future. The --short output will become the default.
Client Version: v1.24.8
Kustomize Version: v4.5.4
</code></pre>
<p>For the older clients, you can find that it is documented in the kustomize's README here: <a href="https://github.com/kubernetes-sigs/kustomize#kubectl-integration" rel="nofollow noreferrer">https://github.com/kubernetes-sigs/kustomize#kubectl-integration</a></p>
<div class="s-table-container">
<table class="s-table">
<thead>
<tr>
<th>Kubectl version</th>
<th>Kustomize version</th>
</tr>
</thead>
<tbody>
<tr>
<td>&lt; v1.14</td>
<td>n/a</td>
</tr>
<tr>
<td>v1.14-v1.20</td>
<td>v2.0.3</td>
</tr>
<tr>
<td>v1.21</td>
<td>v4.0.5</td>
</tr>
<tr>
<td>v1.22</td>
<td>v4.2.0</td>
</tr>
</tbody>
</table>
</div>