<p>I am trying to use the kubectl wait command as outlined in the kubernetes docs: <a href="https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#wait" rel="nofollow noreferrer">https://kubernetes.io/docs/reference/generated/kubectl/kubectl-commands#wait</a></p>

<p>When I run it, I am getting </p>

<pre><code>Error: unknown command "wait" for "kubectl"
</code></pre>

<p>Docs do mention that the command is "experimental". Is there something I need to do to indicate I want to use experimental commands? All the other kubectl commands work fine.</p>

<p>I am using the kubectl command in windows, installed as a gcloud component. I have updated all components. kubectl version returns:</p>

<pre><code>Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.11", GitCommit:"637c7e288581ee40ab4ca210618a89a555b6e7e9", GitTreeState:"clean", BuildDate:"2018-11-26T14:38:32Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"windows/amd64"}
Server Version: version.Info{Major:"1", Minor:"11+", GitVersion:"v1.11.7-gke.4", GitCommit:"618716cbb236fb7ca9cabd822b5947e298ad09f7", GitTreeState:"clean", BuildDate:"2019-02-05T19:22:29Z", GoVersion:"go1.10.7b4", Compiler:"gc", Platform:"linux/amd64"}
</code></pre>

Kyle
<p>I'm not sure in which version <code>kubectl wait</code> was introduced, but I have:</p>

<pre><code>Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.3", GitCommit:"721bfa751924da8d1680787490c54b9179b1fed0", GitTreeState:"clean", BuildDate:"2019-02-01T20:08:12Z", GoVersion:"go1.11.5", Compiler:"gc", Platform:"linux/amd64"}
</code></pre>

<p>and it works for me:</p>

<pre><code>~ kubectl wait --help
Experimental: Wait for a specific condition on one or many resources. 
</code></pre>

<p>Update to the latest version and you will have it</p>

<p>Edit: the command was introduced in version <a href="https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.11.md" rel="nofollow noreferrer">1.11</a>. Here is the relevant <a href="https://github.com/kubernetes/kubernetes/pull/64034" rel="nofollow noreferrer">PR</a>.</p>
